#B862DA#B862DA

#B862DA is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.4% C 0.189 H 315.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B862DA
RGBrgb(184, 98, 218)
HSLhsl(283, 62%, 62%)
HSVhsv(283, 55%, 85%)
CMYKcmyk(15.6%, 55%, 0%, 14.5%)
CIE-LABlab(56.08, 53.71, -47.53)
CIE-LCHlch(56.08, 71.72, 318.50°)
OKLaboklab(64.4% 0.1348 -0.1327)
OKLCHoklch(64.4% 0.189 315.5)
XYZxyz(36.7878, 23.9888, 69.0085)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862DA #84DA62
analogous
#7C62DA #B862DA #DA62C0
triadic
#B862DA #DAB862 #62DAB8
tetradic
#B862DA #DA7C62 #84DA62 #62C0DA
square
#B862DA #DA7C62 #84DA62 #62C0DA
split-complementary
#B862DA #C0DA62 #62DA7C
monochromatic
#7B259D #A231CE #B862DA #CE94E6 #E5C5F1

Accessibility & contrast

On white

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

On black

5.80
#B862DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862DA#FFFFFF#000000##000000
##B862DA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DE
Deuteranopia (green-blind)
#6289D7
Tritanopia (blue-blind)
#B67695
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b862da;
/* rgb */ color: rgb(184, 98, 218);
/* oklch */ color: oklch(64.4% 0.189 315.5);
Tailwind
colors: {
  custom: {
    50: '#d092e6',
    500: '#b862da',
    950: '#000000',
  },
}
SCSS
$custom: #b862da;
$custom-light: #d092e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b862da",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 283,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64401,
    "c": 0.18917,
    "h": 315.5
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#B862DA
secondary
#C2E2B6
accent
#CA1C4D
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862DA

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

Preview Lab → · Contrast checker → · Palette generator →

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