#B862BB#B862BB

#B862BB is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.8% C 0.158 H 326.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B862BB
RGBrgb(184, 98, 187)
HSLhsl(298, 40%, 56%)
HSVhsv(298, 48%, 73%)
CMYKcmyk(1.6%, 47.6%, 0%, 26.7%)
CIE-LABlab(54.57, 47.61, -32.22)
CIE-LCHlch(54.57, 57.49, 325.91°)
OKLaboklab(62.8% 0.1312 -0.0885)
OKLCHoklch(62.8% 0.158 326)
XYZxyz(33.1038, 22.5152, 49.6063)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862BB #65BB62
analogous
#8B62BB #B862BB #BB6291
triadic
#B862BB #BBB862 #62BBB8
tetradic
#B862BB #BB8B62 #65BB62 #6291BB
square
#B862BB #BB8B62 #65BB62 #6291BB
split-complementary
#B862BB #91BB62 #62BB8B
monochromatic
#6F3171 #99449C #B862BB #CB8DCD #DFB7E0

Accessibility & contrast

On white

3.82
#B862BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B862BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862BB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862BB#FFFFFF#000000##000000
##B862BB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#7286B8
Tritanopia (blue-blind)
#BC6C86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b862bb;
/* rgb */ color: rgb(184, 98, 187);
/* oklch */ color: oklch(62.8% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#cf92cf',
    500: '#b862bb',
    950: '#000000',
  },
}
SCSS
$custom: #b862bb;
$custom-light: #cf92cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b862bb",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 297.978,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62798,
    "c": 0.15823,
    "h": 326
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#B862BB
secondary
#ABCFAA
accent
#CF585C
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B862BB

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

Preview Lab → · Contrast checker → · Palette generator →

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