#B862DE#B862DE

#B862DE is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.193 H 314.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B862DE
RGBrgb(184, 98, 222)
HSLhsl(282, 65%, 63%)
HSVhsv(282, 56%, 87%)
CMYKcmyk(17.1%, 55.9%, 0%, 12.9%)
CIE-LABlab(56.29, 54.54, -49.45)
CIE-LCHlch(56.29, 73.61, 317.80°)
OKLaboklab(64.63% 0.1351 -0.1383)
OKLCHoklch(64.63% 0.193 314.3)
XYZxyz(37.3175, 24.2007, 71.7985)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862DE #88DE62
analogous
#7A62DE #B862DE #DE62C6
triadic
#B862DE #DEB862 #62DEB8
tetradic
#B862DE #DE7A62 #88DE62 #62C6DE
square
#B862DE #DE7A62 #88DE62 #62C6DE
split-complementary
#B862DE #C6DE62 #62DE7A
monochromatic
#7C22A3 #A12FD3 #B862DE #CF95E9 #E6C7F3

Accessibility & contrast

On white

3.60
#B862DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B862DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862DE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862DE#FFFFFF#000000##000000
##B862DE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E2
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#B57797
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b862de;
/* rgb */ color: rgb(184, 98, 222);
/* oklch */ color: oklch(64.6% 0.193 314.3);
Tailwind
colors: {
  custom: {
    50: '#d092e9',
    500: '#b862de',
    950: '#000000',
  },
}
SCSS
$custom: #b862de;
$custom-light: #d092e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b862de",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 281.613,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.19329,
    "h": 314.3
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#B862DE
secondary
#C5E4B7
accent
#CD1850
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862DE

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

Preview Lab → · Contrast checker → · Palette generator →

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