#B862CD#B862CD

#B862CD is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.7% C 0.176 H 319.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B862CD
RGBrgb(184, 98, 205)
HSLhsl(288, 52%, 59%)
HSVhsv(288, 52%, 80%)
CMYKcmyk(10.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(55.42, 51.08, -41.20)
CIE-LCHlch(55.42, 65.62, 321.11°)
OKLaboklab(63.7% 0.1337 -0.1143)
OKLCHoklch(63.7% 0.176 319.5)
XYZxyz(35.1529, 23.3349, 60.3982)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CD #77CD62
analogous
#8362CD #B862CD #CD62AD
triadic
#B862CD #CDB862 #62CDB8
tetradic
#B862CD #CD8362 #77CD62 #62ADCD
square
#B862CD #CD8362 #77CD62 #62ADCD
split-complementary
#B862CD #ADCD62 #62CD83
monochromatic
#772C89 #9F3AB7 #B862CD #CD90DC #E2BFEB

Accessibility & contrast

On white

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

On black

5.67
#B862CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CD#FFFFFF#000000##000000
##B862CD1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#B9718E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b862cd;
/* rgb */ color: rgb(184, 98, 205);
/* oklch */ color: oklch(63.7% 0.176 319.5);
Tailwind
colors: {
  custom: {
    50: '#d092dc',
    500: '#b862cd',
    950: '#000000',
  },
}
SCSS
$custom: #b862cd;
$custom-light: #d092dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b862cd",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 288.224,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.637,
    "c": 0.1759,
    "h": 319.5
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

primary
#B862CD
secondary
#B9DAB1
accent
#DB4D69
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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