Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
Home/Colors/#B042CE

Nearest named color · #B042CE

#B042CE

Nearest named color: Magenta Affair

#B042CE (rgb(176 66 206), hsl(287 59% 53%), oklch(0.588 0.219 318.2)) is closest to the named color Magenta Affair. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Purple mean? →

#B042CE

oklch(0.588 0.219 318.2)

Color conversions

HEX
#b042ce
RGB
rgb(176 66 206)
HSL
hsl(287 59% 53%)
HWB
hwb(287 26% 19%)
OKLCH
oklch(0.588 0.219 318.2)
OKLab
oklab(0.588 0.163 -0.146)
CIE Lab
lab(48.64 59.64 -52.2)
LCH
lch(48.64 79.25 318.8)
CMYK
cmyk(15% 68% 0% 19%)

Tints · Shades · Tones

Tints

  • B959D4
  • C16DDA
  • CA81DF
  • D293E4
  • DAA5E9
  • E1B7EE
  • E9C9F3
  • F1DBF7
  • F8EDFB

Shades

  • 9938B3
  • 822F98
  • 6C257F
  • 561C66
  • 42144E
  • 2E0B38
  • 1C0523
  • 0B010F
  • 010002

Tones

  • AC4CC7
  • A754BF
  • A35CB8
  • 9E62B0
  • 9A68A8
  • 956EA1
  • 907399
  • 8B7891
  • 867C88

Color harmonies

Complementary +180°

  • B042CE

    Magenta Affair

  • 3A9400

    ≈ Planter

Analogous -30° +30°

  • B042CE

    Magenta Affair

  • 7D5AF4

    ≈ Candy Grape Fizz

  • D12C93

    ≈ Royal Fuchsia

Triadic +120° +240°

  • B042CE

    Magenta Affair

  • A47200

    ≈ Barbarian Leather

  • 008E92

    ≈ Christina Brown

Split-complementary +150° +210°

  • B042CE

    Magenta Affair

  • 848200

    ≈ Drably Olive

  • 00936F

    ≈ Viridian

Tetradic +90° +180° +270°

  • B042CE

    Magenta Affair

  • C55800

    ≈ Rust Orange

  • 3A9400

    ≈ Planter

  • 0089B2

    ≈ Stomy Shower

Contrast & accessibility

Ag

On white

WCAG 4.64:1 · APCA Lc 71

AA
Ag

On black

WCAG 4.51:1 · APCA Lc 30

AA

Best text color: #FFFFFF

WCAG 4.64:1 (AA) · APCA Lc 71

Contrast pairs

  • #B042CE / #FFFFFF
  • #B042CE / #000000
  • #FFFFFF / #B042CE
  • #000000 / #B042CE

Code snippets

CSS

:root {
  --magenta-affair: #b042ce;
  --magenta-affair-rgb: 176 66 206;
  --magenta-affair-oklch: oklch(0.588 0.219 318.2);
}

.element {
  color: var(--magenta-affair);
  background-color: hsl(287 59% 53%);
  border-color: oklch(0.588 0.219 318.2);
}

Tailwind CSS v4

@theme {
  --color-magenta-affair: #b042ce;
  --color-magenta-affair-50: #ffe1ff;
  --color-magenta-affair-100: #ffd0ff;
  --color-magenta-affair-200: #feb5ff;
  --color-magenta-affair-300: #e88ffc;
  --color-magenta-affair-400: #d26cf0;
  --color-magenta-affair-500: #bf42e1;
  --color-magenta-affair-600: #a13abd;
  --color-magenta-affair-700: #822e98;
  --color-magenta-affair-800: #5f2174;
  --color-magenta-affair-900: #421652;
  --color-magenta-affair-950: #2a0637;
}

SCSS

$magenta-affair: #b042ce;
$magenta-affair-rgb: 176, 66, 206;
$magenta-affair-light: mix(#fff, $magenta-affair, 20%);
$magenta-affair-dark: mix(#000, $magenta-affair, 20%);

.element {
  color: $magenta-affair;
  box-shadow: 0 0 0 2px rgba($magenta-affair, 0.35);
}

Similar named colors

  • A846D7

    Purple Yam

  • BB44CC

    Ultraviolet Berl

  • AA44DD

    Magenta Affair

  • BB44DD

    Ultraviolet Onsible

  • BB44BB

    Ultraviolet Cryner

  • BF36E0

    Eupatorium Purple

  • BA55D3

    Medium Orchid

  • BB55CC

    Love Priestess

  • BE2BDF

    Shades of Rhodonite

  • AA22CC

    Telemagenta

  • A259CE

    Ripe Lavander

  • A152BD

    Royal Gramma Purple

Palettes with similar colors

  • Steady Magenta Affair CanvasRed · Rainbow
  • Magenta Affair BriefPink · 4 Colors
  • Bold Pleasant Purple CircuitRed · Monochromatic
  • Neon Magenta Affair CascadePink · 3 Colors
  • True Magenta Affair BloomPink · 5 Colors
  • Atomic Telemagenta GardenPink · Monochromatic

Open in tools

PickerPairsContrast checkerStudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA