#B862CE#B862CE

#B862CE is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.177 H 319.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B862CE
RGBrgb(184, 98, 206)
HSLhsl(288, 52%, 60%)
HSVhsv(288, 52%, 81%)
CMYKcmyk(10.7%, 52.4%, 0%, 19.2%)
CIE-LABlab(55.47, 51.28, -41.69)
CIE-LCHlch(55.47, 66.09, 320.89°)
OKLaboklab(63.75% 0.1338 -0.1157)
OKLCHoklch(63.75% 0.177 319.1)
XYZxyz(35.2740, 23.3833, 61.0359)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CE #78CE62
analogous
#8262CE #B862CE #CE62AE
triadic
#B862CE #CEB862 #62CEB8
tetradic
#B862CE #CE8262 #78CE62 #62AECE
square
#B862CE #CE8262 #78CE62 #62AECE
split-complementary
#B862CE #AECE62 #62CE82
monochromatic
#772B8A #9F3AB9 #B862CE #CD91DD #E2BFEB

Accessibility & contrast

On white

3.70
#B862CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B862CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CE#FFFFFF#000000##000000
##B862CE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#B8728F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b862ce;
/* rgb */ color: rgb(184, 98, 206);
/* oklch */ color: oklch(63.8% 0.177 319.1);
Tailwind
colors: {
  custom: {
    50: '#d092dd',
    500: '#b862ce',
    950: '#000000',
  },
}
SCSS
$custom: #b862ce;
$custom-light: #d092dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ce",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 287.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63753,
    "c": 0.17691,
    "h": 319.1
  },
  "luminance": 0.23382
}

Semantic roles & 50–950 ramp

primary
#B862CE
secondary
#B9DBB1
accent
#DC4C69
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CE

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

Preview Lab → · Contrast checker → · Palette generator →

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