#B942CE#B942CE

#B942CE is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.223 H 321.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B942CE
RGBrgb(185, 66, 206)
HSLhsl(291, 59%, 53%)
HSVhsv(291, 68%, 81%)
CMYKcmyk(10.2%, 68%, 0%, 19.2%)
CIE-LABlab(50.30, 65.99, -49.88)
CIE-LCHlch(50.30, 82.73, 322.92°)
OKLaboklab(60.02% 0.1738 -0.1393)
OKLCHoklch(60.02% 0.223 321.3)
XYZxyz(33.0951, 18.6687, 60.2407)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B942CE #57CE42
analogous
#7342CE #B942CE #CE429D
triadic
#B942CE #CEB942 #42CEB9
tetradic
#B942CE #CE7342 #57CE42 #429DCE
square
#B942CE #CE7342 #57CE42 #429DCE
split-complementary
#B942CE #9DCE42 #42CE73
monochromatic
#6A1F77 #952BA7 #B942CE #CB73DB #DDA3E7

Accessibility & contrast

On white

4.44
#B942CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B942CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B942CE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B942CE#FFFFFF#000000##000000
##B942CE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F6FD2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#BB5B83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b942ce;
/* rgb */ color: rgb(185, 66, 206);
/* oklch */ color: oklch(60.0% 0.223 321.3);
Tailwind
colors: {
  custom: {
    50: '#d280dd',
    500: '#b942ce',
    950: '#000000',
  },
}
SCSS
$custom: #b942ce;
$custom-light: #d280dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b942ce",
  "rgb": {
    "r": 185,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 291,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.22278,
    "h": 321.3
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#B942CE
secondary
#A1D498
accent
#E2465D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B942CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B942CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva