#B862CA#B862CA

#B862CA is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.5% C 0.173 H 320.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B862CA
RGBrgb(184, 98, 202)
HSLhsl(290, 50%, 59%)
HSVhsv(290, 51%, 79%)
CMYKcmyk(8.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(55.27, 50.48, -39.72)
CIE-LCHlch(55.27, 64.24, 321.80°)
OKLaboklab(63.54% 0.1334 -0.11)
OKLCHoklch(63.54% 0.173 320.5)
XYZxyz(34.7942, 23.1914, 58.5093)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862CA #74CA62
analogous
#8462CA #B862CA #CA62A8
triadic
#B862CA #CAB862 #62CAB8
tetradic
#B862CA #CA8462 #74CA62 #62A8CA
square
#B862CA #CA8462 #74CA62 #62A8CA
split-complementary
#B862CA #A8CA62 #62CA84
monochromatic
#762D85 #9E3CB3 #B862CA #CD90D9 #E1BEE9

Accessibility & contrast

On white

3.72
#B862CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B862CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862CA#FFFFFF#000000##000000
##B862CA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#B9708D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b862ca;
/* rgb */ color: rgb(184, 98, 202);
/* oklch */ color: oklch(63.5% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#cf92da',
    500: '#b862ca',
    950: '#000000',
  },
}
SCSS
$custom: #b862ca;
$custom-light: #cf92da;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ca",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 289.615,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.1729,
    "h": 320.5
  },
  "luminance": 0.2319
}

Semantic roles & 50–950 ramp

primary
#B862CA
secondary
#B7D8AF
accent
#D94F67
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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