#B862BF#B862BF

#B862BF is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.162 H 324.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B862BF
RGBrgb(184, 98, 191)
HSLhsl(295, 42%, 57%)
HSVhsv(295, 49%, 75%)
CMYKcmyk(3.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(54.75, 48.36, -34.24)
CIE-LCHlch(54.75, 59.26, 324.70°)
OKLaboklab(62.99% 0.1318 -0.0942)
OKLCHoklch(62.99% 0.162 324.4)
XYZxyz(33.5380, 22.6889, 51.8929)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862BF #69BF62
analogous
#8A62BF #B862BF #BF6298
triadic
#B862BF #BFB862 #62BFB8
tetradic
#B862BF #BF8A62 #69BF62 #6298BF
square
#B862BF #BF8A62 #69BF62 #6298BF
split-complementary
#B862BF #98BF62 #62BF8A
monochromatic
#713076 #9B42A2 #B862BF #CC8DD1 #DFB9E2

Accessibility & contrast

On white

3.79
#B862BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B862BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862BF#FFFFFF#000000##000000
##B862BF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC2
Deuteranopia (green-blind)
#7087BC
Tritanopia (blue-blind)
#BB6D88
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b862bf;
/* rgb */ color: rgb(184, 98, 191);
/* oklch */ color: oklch(63.0% 0.162 324.4);
Tailwind
colors: {
  custom: {
    50: '#cf92d2',
    500: '#b862bf',
    950: '#000000',
  },
}
SCSS
$custom: #b862bf;
$custom-light: #cf92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b862bf",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 295.484,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62992,
    "c": 0.16206,
    "h": 324.4
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#B862BF
secondary
#AED1AB
accent
#D2565F
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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