#BB72E2#BB72E2

#BB72E2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.174 H 312.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#BB72E2
RGBrgb(187, 114, 226)
HSLhsl(279, 66%, 67%)
HSVhsv(279, 50%, 89%)
CMYKcmyk(17.3%, 49.6%, 0%, 11.4%)
CIE-LABlab(59.97, 47.97, -45.83)
CIE-LCHlch(59.97, 66.34, 316.30°)
OKLaboklab(67.48% 0.1179 -0.1278)
OKLCHoklch(67.48% 0.174 312.7)
XYZxyz(40.2359, 28.0913, 75.2394)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72E2 #99E272
analogous
#8372E2 #BB72E2 #E272D1
triadic
#BB72E2 #E2BB72 #72E2BB
tetradic
#BB72E2 #E28372 #99E272 #72D1E2
square
#BB72E2 #E28372 #99E272 #72D1E2
split-complementary
#BB72E2 #D1E272 #72E283
monochromatic
#8325B4 #A33FD8 #BB72E2 #D3A5EC #ECD8F7

Accessibility & contrast

On white

3.17
#BB72E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#BB72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72E2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72E2#FFFFFF#000000##000000
##BB72E21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#B784A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb72e2;
/* rgb */ color: rgb(187, 114, 226);
/* oklch */ color: oklch(67.5% 0.174 312.7);
Tailwind
colors: {
  custom: {
    50: '#d29deb',
    500: '#bb72e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb72e2;
$custom-light: #d29deb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72e2",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 279.107,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.17383,
    "h": 312.7
  },
  "luminance": 0.2809
}

Semantic roles & 50–950 ramp

primary
#BB72E2
secondary
#D2EAC6
accent
#CE1857
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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