#B862AA#B862AA

#B862AA is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.0% C 0.143 H 333.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B862AA
RGBrgb(184, 98, 170)
HSLhsl(310, 38%, 55%)
HSVhsv(310, 47%, 72%)
CMYKcmyk(0%, 46.7%, 7.6%, 27.8%)
CIE-LABlab(53.85, 44.55, -23.51)
CIE-LCHlch(53.85, 50.37, 332.18°)
OKLaboklab(62.02% 0.1278 -0.0637)
OKLCHoklch(62.02% 0.143 333.5)
XYZxyz(31.3904, 21.8299, 40.5826)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862AA #62B870
analogous
#9B62B8 #B862AA #B8627F
triadic
#B862AA #AAB862 #62AAB8
tetradic
#B862AA #B89B62 #62B870 #627FB8
square
#B862AA #B89B62 #62B870 #627FB8
split-complementary
#B862AA #7FB862 #62B89B
monochromatic
#6E3264 #98458A #B862AA #CB8CC1 #DEB6D8

Accessibility & contrast

On white

3.91
#B862AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B862AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862AA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862AA#FFFFFF#000000##000000
##B862AA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#7985A8
Tritanopia (blue-blind)
#BF677E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b862aa;
/* rgb */ color: rgb(184, 98, 170);
/* oklch */ color: oklch(62.0% 0.143 333.5);
Tailwind
colors: {
  custom: {
    50: '#cf91c3',
    500: '#b862aa',
    950: '#000000',
  },
}
SCSS
$custom: #b862aa;
$custom-light: #cf91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b862aa",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 309.767,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62023,
    "c": 0.14277,
    "h": 333.5
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#B862AA
secondary
#A9CDAF
accent
#CE6D5A
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D12
muted
#827E81

Preview Lab

Preview with #B862AA

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

Preview Lab → · Contrast checker → · Palette generator →

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