#B942CD#B942CD

#B942CD is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.222 H 321.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B942CD
RGBrgb(185, 66, 205)
HSLhsl(291, 58%, 53%)
HSVhsv(291, 68%, 80%)
CMYKcmyk(9.8%, 67.8%, 0%, 19.6%)
CIE-LABlab(50.24, 65.81, -49.40)
CIE-LCHlch(50.24, 82.29, 323.11°)
OKLaboklab(59.96% 0.1739 -0.1379)
OKLCHoklch(59.96% 0.222 321.6)
XYZxyz(32.9740, 18.6202, 59.6030)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B942CD #56CD42
analogous
#7342CD #B942CD #CD429B
triadic
#B942CD #CDB942 #42CDB9
tetradic
#B942CD #CD7342 #56CD42 #429BCD
square
#B942CD #CD7342 #56CD42 #429BCD
split-complementary
#B942CD #9BCD42 #42CD73
monochromatic
#691F76 #942CA6 #B942CD #CB72DA #DDA3E7

Accessibility & contrast

On white

4.45
#B942CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B942CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B942CD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B942CD#FFFFFF#000000##000000
##B942CD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#BB5A83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b942cd;
/* rgb */ color: rgb(185, 66, 205);
/* oklch */ color: oklch(60.0% 0.222 321.6);
Tailwind
colors: {
  custom: {
    50: '#d280dd',
    500: '#b942cd',
    950: '#000000',
  },
}
SCSS
$custom: #b942cd;
$custom-light: #d280dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b942cd",
  "rgb": {
    "r": 185,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 291.367,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.22192,
    "h": 321.6
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#B942CD
secondary
#A0D397
accent
#E1465D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B942CD

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

Preview Lab → · Contrast checker → · Palette generator →

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