#BB52F2#BB52F2

#BB52F2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.2% C 0.236 H 311.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BB52F2
RGBrgb(187, 82, 242)
HSLhsl(279, 86%, 64%)
HSVhsv(279, 66%, 95%)
CMYKcmyk(22.7%, 66.1%, 0%, 5.1%)
CIE-LABlab(55.08, 66.84, -62.56)
CIE-LCHlch(55.08, 91.55, 316.89°)
OKLaboklab(64.2% 0.1573 -0.1765)
OKLCHoklch(64.2% 0.236 311.7)
XYZxyz(39.5349, 23.0112, 86.3462)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52F2 #89F252
analogous
#6B52F2 #BB52F2 #F252D9
triadic
#BB52F2 #F2BB52 #52F2BB
tetradic
#BB52F2 #F26B52 #89F252 #52D9F2
square
#BB52F2 #F26B52 #89F252 #52D9F2
split-complementary
#BB52F2 #D9F252 #52F26B
monochromatic
#800EBC #A519EE #BB52F2 #D18BF6 #E8C4FB

Accessibility & contrast

On white

3.75
#BB52F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#BB52F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52F2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52F2#FFFFFF#000000##000000
##BB52F21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#B4739C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb52f2;
/* rgb */ color: rgb(187, 82, 242);
/* oklch */ color: oklch(64.2% 0.236 311.7);
Tailwind
colors: {
  custom: {
    50: '#d48af7',
    500: '#bb52f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb52f2;
$custom-light: #d48af7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52f2",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 279.375,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64202,
    "c": 0.23644,
    "h": 311.7
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#BB52F2
secondary
#C7ECB4
accent
#E30350
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52F2

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

Preview Lab → · Contrast checker → · Palette generator →

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