#BB72FC#BB72FC

#BB72FC is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 68.9% C 0.203 H 306.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BB72FC
RGBrgb(187, 114, 252)
HSLhsl(272, 96%, 72%)
HSVhsv(272, 55%, 99%)
CMYKcmyk(25.8%, 54.8%, 0%, 1.2%)
CIE-LABlab(61.33, 53.69, -58.10)
CIE-LCHlch(61.33, 79.11, 312.74°)
OKLaboklab(68.93% 0.1198 -0.1636)
OKLCHoklch(68.93% 0.203 306.2)
XYZxyz(44.0778, 29.6281, 95.4733)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72FC #B3FC72
analogous
#7672FC #BB72FC #FC72F8
triadic
#BB72FC #FCBB72 #72FCBB
tetradic
#BB72FC #FC7672 #B3FC72 #72F8FC
square
#BB72FC #FC7672 #B3FC72 #72F8FC
split-complementary
#BB72FC #F8FC72 #72FC76
monochromatic
#8105EF #9E36FB #BB72FC #D8AEFD #F1E1FE

Accessibility & contrast

On white

3.03
#BB72FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#BB72FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72FC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72FC#FFFFFF#000000##000000
##BB72FC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#B18CAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb72fc;
/* rgb */ color: rgb(187, 114, 252);
/* oklch */ color: oklch(68.9% 0.203 306.2);
Tailwind
colors: {
  custom: {
    50: '#d39dfe',
    500: '#bb72fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb72fc;
$custom-light: #d39dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72fc",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 271.739,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.20272,
    "h": 306.2
  },
  "luminance": 0.29628
}

Semantic roles & 50–950 ramp

primary
#BB72FC
secondary
#E4F6D3
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BB72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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