#BB52F1#BB52F1

#BB52F1 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.1% C 0.235 H 311.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BB52F1
RGBrgb(187, 82, 241)
HSLhsl(280, 85%, 63%)
HSVhsv(280, 66%, 95%)
CMYKcmyk(22.4%, 66%, 0%, 5.5%)
CIE-LABlab(55.02, 66.63, -62.10)
CIE-LCHlch(55.02, 91.09, 317.02°)
OKLaboklab(64.14% 0.1574 -0.1752)
OKLCHoklch(64.14% 0.235 311.9)
XYZxyz(39.3851, 22.9513, 85.5573)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52F1 #88F152
analogous
#6B52F1 #BB52F1 #F152D7
triadic
#BB52F1 #F1BB52 #52F1BB
tetradic
#BB52F1 #F16B52 #88F152 #52D7F1
square
#BB52F1 #F16B52 #88F152 #52D7F1
split-complementary
#BB52F1 #D7F152 #52F16B
monochromatic
#800FBA #A519EC #BB52F1 #D18BF6 #E8C3FA

Accessibility & contrast

On white

3.76
#BB52F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BB52F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52F1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52F1#FFFFFF#000000##000000
##BB52F11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#4286ED
Tritanopia (blue-blind)
#B5729B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb52f1;
/* rgb */ color: rgb(187, 82, 241);
/* oklch */ color: oklch(64.1% 0.235 311.9);
Tailwind
colors: {
  custom: {
    50: '#d48af6',
    500: '#bb52f1',
    950: '#000000',
  },
}
SCSS
$custom: #bb52f1;
$custom-light: #d48af6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52f1",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 279.623,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.23548,
    "h": 311.9
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#BB52F1
secondary
#C6ECB3
accent
#E2044F
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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