#B862CF#B862CF

#B862CF is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.178 H 318.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B862CF
RGBrgb(184, 98, 207)
HSLhsl(287, 53%, 60%)
HSVhsv(287, 53%, 81%)
CMYKcmyk(11.1%, 52.7%, 0%, 18.8%)
CIE-LABlab(55.51, 51.48, -42.18)
CIE-LCHlch(55.51, 66.55, 320.67°)
OKLaboklab(63.81% 0.1339 -0.1172)
OKLCHoklch(63.81% 0.178 318.8)
XYZxyz(35.3958, 23.4321, 61.6777)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CF #79CF62
analogous
#8162CF #B862CF #CF62B0
triadic
#B862CF #CFB862 #62CFB8
tetradic
#B862CF #CF8162 #79CF62 #62B0CF
square
#B862CF #CF8162 #79CF62 #62B0CF
split-complementary
#B862CF #B0CF62 #62CF81
monochromatic
#772B8C #9F39BB #B862CF #CD91DD #E2C0EC

Accessibility & contrast

On white

3.69
#B862CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B862CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CF#FFFFFF#000000##000000
##B862CF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#B8728F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b862cf;
/* rgb */ color: rgb(184, 98, 207);
/* oklch */ color: oklch(63.8% 0.178 318.8);
Tailwind
colors: {
  custom: {
    50: '#d092de',
    500: '#b862cf',
    950: '#000000',
  },
}
SCSS
$custom: #b862cf;
$custom-light: #d092de;
$custom-dark: #000000;
JSON
{
  "hex": "#b862cf",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 287.339,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63806,
    "c": 0.17793,
    "h": 318.8
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#B862CF
secondary
#BADBB1
accent
#DD4B6A
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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