#B862DD#B862DD

#B862DD is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.6% C 0.192 H 314.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B862DD
RGBrgb(184, 98, 221)
HSLhsl(282, 64%, 63%)
HSVhsv(282, 56%, 87%)
CMYKcmyk(16.7%, 55.7%, 0%, 13.3%)
CIE-LABlab(56.23, 54.33, -48.97)
CIE-LCHlch(56.23, 73.14, 317.97°)
OKLaboklab(64.57% 0.135 -0.1369)
OKLCHoklch(64.57% 0.192 314.6)
XYZxyz(37.1839, 24.1473, 71.0947)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862DD #87DD62
analogous
#7A62DD #B862DD #DD62C5
triadic
#B862DD #DDB862 #62DDB8
tetradic
#B862DD #DD7A62 #87DD62 #62C5DD
square
#B862DD #DD7A62 #87DD62 #62C5DD
split-complementary
#B862DD #C5DD62 #62DD7A
monochromatic
#7C23A2 #A130D2 #B862DD #CF94E8 #E5C7F3

Accessibility & contrast

On white

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

On black

5.83
#B862DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862DD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862DD#FFFFFF#000000##000000
##B862DD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#6089DA
Tritanopia (blue-blind)
#B57796
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b862dd;
/* rgb */ color: rgb(184, 98, 221);
/* oklch */ color: oklch(64.6% 0.192 314.6);
Tailwind
colors: {
  custom: {
    50: '#d092e8',
    500: '#b862dd',
    950: '#000000',
  },
}
SCSS
$custom: #b862dd;
$custom-light: #d092e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b862dd",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 281.951,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.19227,
    "h": 314.6
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#B862DD
secondary
#C4E4B7
accent
#CC194F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862DD

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

Preview Lab → · Contrast checker → · Palette generator →

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