#B862CC#B862CC

#B862CC is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.6% C 0.175 H 319.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B862CC
RGBrgb(184, 98, 204)
HSLhsl(289, 51%, 59%)
HSVhsv(289, 52%, 80%)
CMYKcmyk(9.8%, 52%, 0%, 20%)
CIE-LABlab(55.37, 50.88, -40.71)
CIE-LCHlch(55.37, 65.16, 321.34°)
OKLaboklab(63.65% 0.1336 -0.1129)
OKLCHoklch(63.65% 0.175 319.8)
XYZxyz(35.0326, 23.2867, 59.7645)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CC #76CC62
analogous
#8362CC #B862CC #CC62AB
triadic
#B862CC #CCB862 #62CCB8
tetradic
#B862CC #CC8362 #76CC62 #62ABCC
square
#B862CC #CC8362 #76CC62 #62ABCC
split-complementary
#B862CC #ABCC62 #62CC83
monochromatic
#762C88 #9F3BB6 #B862CC #CD90DB #E2BEEA

Accessibility & contrast

On white

3.71
#B862CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B862CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CC#FFFFFF#000000##000000
##B862CC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#B9718E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b862cc;
/* rgb */ color: rgb(184, 98, 204);
/* oklch */ color: oklch(63.6% 0.175 319.8);
Tailwind
colors: {
  custom: {
    50: '#cf92dc',
    500: '#b862cc',
    950: '#000000',
  },
}
SCSS
$custom: #b862cc;
$custom-light: #cf92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b862cc",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 288.679,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.1749,
    "h": 319.8
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#B862CC
secondary
#B8DAB0
accent
#DA4D68
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CC

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

Preview Lab → · Contrast checker → · Palette generator →

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