#B862BD#B862BD

#B862BD is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.9% C 0.160 H 325.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B862BD
RGBrgb(184, 98, 189)
HSLhsl(297, 41%, 56%)
HSVhsv(297, 48%, 74%)
CMYKcmyk(2.6%, 48.1%, 0%, 25.9%)
CIE-LABlab(54.66, 47.99, -33.23)
CIE-LCHlch(54.66, 58.37, 325.29°)
OKLaboklab(62.9% 0.1315 -0.0913)
OKLCHoklch(62.9% 0.16 325.2)
XYZxyz(33.3194, 22.6015, 50.7417)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862BD #67BD62
analogous
#8B62BD #B862BD #BD6295
triadic
#B862BD #BDB862 #62BDB8
tetradic
#B862BD #BD8B62 #67BD62 #6295BD
square
#B862BD #BD8B62 #67BD62 #6295BD
split-complementary
#B862BD #95BD62 #62BD8B
monochromatic
#703174 #9A439F #B862BD #CB8DCF #DFB8E1

Accessibility & contrast

On white

3.80
#B862BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B862BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862BD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862BD#FFFFFF#000000##000000
##B862BD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC0
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#BC6C87
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b862bd;
/* rgb */ color: rgb(184, 98, 189);
/* oklch */ color: oklch(62.9% 0.160 325.2);
Tailwind
colors: {
  custom: {
    50: '#cf92d1',
    500: '#b862bd',
    950: '#000000',
  },
}
SCSS
$custom: #b862bd;
$custom-light: #cf92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b862bd",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 296.703,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62895,
    "c": 0.16013,
    "h": 325.2
  },
  "luminance": 0.226
}

Semantic roles & 50–950 ramp

primary
#B862BD
secondary
#ADD0AB
accent
#D1575E
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B862BD

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

Preview Lab → · Contrast checker → · Palette generator →

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