#B862DF#B862DF

#B862DF is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.7% C 0.194 H 314.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B862DF
RGBrgb(184, 98, 223)
HSLhsl(281, 66%, 63%)
HSVhsv(281, 56%, 87%)
CMYKcmyk(17.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(56.34, 54.75, -49.92)
CIE-LCHlch(56.34, 74.09, 317.64°)
OKLaboklab(64.68% 0.1351 -0.1397)
OKLCHoklch(64.68% 0.194 314)
XYZxyz(37.4519, 24.2545, 72.5064)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862DF #89DF62
analogous
#7962DF #B862DF #DF62C7
triadic
#B862DF #DFB862 #62DFB8
tetradic
#B862DF #DF7962 #89DF62 #62C7DF
square
#B862DF #DF7962 #89DF62 #62C7DF
split-complementary
#B862DF #C7DF62 #62DF79
monochromatic
#7C22A5 #A12FD5 #B862DF #CF95E9 #E6C8F4

Accessibility & contrast

On white

3.59
#B862DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B862DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862DF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862DF#FFFFFF#000000##000000
##B862DF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#B57797
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b862df;
/* rgb */ color: rgb(184, 98, 223);
/* oklch */ color: oklch(64.7% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#d092e9',
    500: '#b862df',
    950: '#000000',
  },
}
SCSS
$custom: #b862df;
$custom-light: #d092e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b862df",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 281.28,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64682,
    "c": 0.19433,
    "h": 314
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#B862DF
secondary
#C6E5B8
accent
#CE1750
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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