#B862DB#B862DB

#B862DB is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.190 H 315.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B862DB
RGBrgb(184, 98, 219)
HSLhsl(283, 63%, 62%)
HSVhsv(283, 55%, 86%)
CMYKcmyk(16%, 55.3%, 0%, 14.1%)
CIE-LABlab(56.13, 53.91, -48.01)
CIE-LCHlch(56.13, 72.19, 318.32°)
OKLaboklab(64.46% 0.1349 -0.1341)
OKLCHoklch(64.46% 0.19 315.2)
XYZxyz(36.9190, 24.0413, 69.6998)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862DB #85DB62
analogous
#7C62DB #B862DB #DB62C1
triadic
#B862DB #DBB862 #62DBB8
tetradic
#B862DB #DB7C62 #85DB62 #62C1DB
square
#B862DB #DB7C62 #85DB62 #62C1DB
split-complementary
#B862DB #C1DB62 #62DB7C
monochromatic
#7B249E #A130D0 #B862DB #CF94E6 #E5C6F2

Accessibility & contrast

On white

3.62
#B862DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B862DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862DB#FFFFFF#000000##000000
##B862DB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#B67695
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b862db;
/* rgb */ color: rgb(184, 98, 219);
/* oklch */ color: oklch(64.5% 0.190 315.2);
Tailwind
colors: {
  custom: {
    50: '#d092e7',
    500: '#b862db',
    950: '#000000',
  },
}
SCSS
$custom: #b862db;
$custom-light: #d092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b862db",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 282.645,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.1902,
    "h": 315.2
  },
  "luminance": 0.2404
}

Semantic roles & 50–950 ramp

primary
#B862DB
secondary
#C3E3B6
accent
#CA1B4E
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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