#B862D2#B862D2

#B862D2 is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.0% C 0.181 H 317.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B862D2
RGBrgb(184, 98, 210)
HSLhsl(286, 55%, 60%)
HSVhsv(286, 53%, 82%)
CMYKcmyk(12.4%, 53.3%, 0%, 17.6%)
CIE-LABlab(55.66, 52.08, -43.65)
CIE-LCHlch(55.66, 67.95, 320.03°)
OKLaboklab(63.97% 0.1342 -0.1214)
OKLCHoklch(63.97% 0.181 317.9)
XYZxyz(35.7661, 23.5802, 63.6277)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862D2 #7CD262
analogous
#8062D2 #B862D2 #D262B4
triadic
#B862D2 #D2B862 #62D2B8
tetradic
#B862D2 #D28062 #7CD262 #62B4D2
square
#B862D2 #D28062 #7CD262 #62B4D2
split-complementary
#B862D2 #B4D262 #62D280
monochromatic
#782990 #A037C0 #B862D2 #CE92E0 #E3C1ED

Accessibility & contrast

On white

3.67
#B862D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B862D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862D2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862D2#FFFFFF#000000##000000
##B862D21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#6788CF
Tritanopia (blue-blind)
#B87391
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b862d2;
/* rgb */ color: rgb(184, 98, 210);
/* oklch */ color: oklch(64.0% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#d092e0',
    500: '#b862d2',
    950: '#000000',
  },
}
SCSS
$custom: #b862d2;
$custom-light: #d092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b862d2",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 286.071,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.18097,
    "h": 317.9
  },
  "luminance": 0.23579
}

Semantic roles & 50–950 ramp

primary
#B862D2
secondary
#BCDDB3
accent
#C32348
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862D2

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

Preview Lab → · Contrast checker → · Palette generator →

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