#B862CB#B862CB

#B862CB is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.6% C 0.174 H 320.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B862CB
RGBrgb(184, 98, 203)
HSLhsl(289, 50%, 59%)
HSVhsv(289, 52%, 80%)
CMYKcmyk(9.4%, 51.7%, 0%, 20.4%)
CIE-LABlab(55.32, 50.68, -40.22)
CIE-LCHlch(55.32, 64.70, 321.57°)
OKLaboklab(63.6% 0.1335 -0.1115)
OKLCHoklch(63.6% 0.174 320.1)
XYZxyz(34.9130, 23.2389, 59.1348)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CB #75CB62
analogous
#8462CB #B862CB #CB62AA
triadic
#B862CB #CBB862 #62CBB8
tetradic
#B862CB #CB8462 #75CB62 #62AACB
square
#B862CB #CB8462 #75CB62 #62AACB
split-complementary
#B862CB #AACB62 #62CB84
monochromatic
#762C86 #9E3CB4 #B862CB #CD90DA #E2BEE9

Accessibility & contrast

On white

3.72
#B862CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B862CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CB#FFFFFF#000000##000000
##B862CB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECE
Deuteranopia (green-blind)
#6A88C8
Tritanopia (blue-blind)
#B9718D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b862cb;
/* rgb */ color: rgb(184, 98, 203);
/* oklch */ color: oklch(63.6% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#cf92db',
    500: '#b862cb',
    950: '#000000',
  },
}
SCSS
$custom: #b862cb;
$custom-light: #cf92db;
$custom-dark: #000000;
JSON
{
  "hex": "#b862cb",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 289.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63596,
    "c": 0.17389,
    "h": 320.1
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#B862CB
secondary
#B7D9B0
accent
#DA4E67
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CB

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

Preview Lab → · Contrast checker → · Palette generator →

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