#B862BC#B862BC

#B862BC is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.8% C 0.159 H 325.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B862BC
RGBrgb(184, 98, 188)
HSLhsl(297, 40%, 56%)
HSVhsv(297, 48%, 74%)
CMYKcmyk(2.1%, 47.9%, 0%, 26.3%)
CIE-LABlab(54.61, 47.80, -32.73)
CIE-LCHlch(54.61, 57.93, 325.60°)
OKLaboklab(62.85% 0.1314 -0.0899)
OKLCHoklch(62.85% 0.159 325.6)
XYZxyz(33.2112, 22.5582, 50.1720)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862BC #66BC62
analogous
#8B62BC #B862BC #BC6293
triadic
#B862BC #BCB862 #62BCB8
tetradic
#B862BC #BC8B62 #66BC62 #6293BC
square
#B862BC #BC8B62 #66BC62 #6293BC
split-complementary
#B862BC #93BC62 #62BC8B
monochromatic
#703173 #9A439E #B862BC #CB8DCE #DFB8E1

Accessibility & contrast

On white

3.81
#B862BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B862BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862BC#FFFFFF#000000##000000
##B862BC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CBF
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#BC6C86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b862bc;
/* rgb */ color: rgb(184, 98, 188);
/* oklch */ color: oklch(62.8% 0.159 325.6);
Tailwind
colors: {
  custom: {
    50: '#cf92d0',
    500: '#b862bc',
    950: '#000000',
  },
}
SCSS
$custom: #b862bc;
$custom-light: #cf92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b862bc",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 297.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.15917,
    "h": 325.6
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#B862BC
secondary
#ACCFAA
accent
#D0585D
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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