#BB72EA#BB72EA

#BB72EA is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.183 H 310.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BB72EA
RGBrgb(187, 114, 234)
HSLhsl(277, 74%, 68%)
HSVhsv(277, 51%, 92%)
CMYKcmyk(20.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(60.37, 49.69, -49.66)
CIE-LCHlch(60.37, 70.25, 315.02°)
OKLaboklab(67.91% 0.1187 -0.1389)
OKLCHoklch(67.91% 0.183 310.5)
XYZxyz(41.3594, 28.5407, 81.1561)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72EA #A1EA72
analogous
#7F72EA #BB72EA #EA72DD
triadic
#BB72EA #EABB72 #72EABB
tetradic
#BB72EA #EA7F72 #A1EA72 #72DDEA
square
#BB72EA #EA7F72 #A1EA72 #72DDEA
split-complementary
#BB72EA #DDEA72 #72EA7F
monochromatic
#831DC4 #A13DE2 #BB72EA #D5A7F2 #EEDDFA

Accessibility & contrast

On white

3.13
#BB72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#BB72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72EA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72EA#FFFFFF#000000##000000
##BB72EA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#B586A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb72ea;
/* rgb */ color: rgb(187, 114, 234);
/* oklch */ color: oklch(67.9% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#d29df1',
    500: '#bb72ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb72ea;
$custom-light: #d29df1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72ea",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 276.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.18269,
    "h": 310.5
  },
  "luminance": 0.2854
}

Semantic roles & 50–950 ramp

primary
#BB72EA
secondary
#D8EECA
accent
#D60F5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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