#BB52F3#BB52F3

#BB52F3 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.3% C 0.237 H 311.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BB52F3
RGBrgb(187, 82, 243)
HSLhsl(279, 87%, 64%)
HSVhsv(279, 66%, 95%)
CMYKcmyk(23%, 66.3%, 0%, 4.7%)
CIE-LABlab(55.15, 67.05, -63.02)
CIE-LCHlch(55.15, 92.02, 316.77°)
OKLaboklab(64.27% 0.1572 -0.1779)
OKLCHoklch(64.27% 0.237 311.5)
XYZxyz(39.6855, 23.0714, 87.1393)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52F3 #8AF352
analogous
#6A52F3 #BB52F3 #F352DB
triadic
#BB52F3 #F3BB52 #52F3BB
tetradic
#BB52F3 #F36A52 #8AF352 #52DBF3
square
#BB52F3 #F36A52 #8AF352 #52DBF3
split-complementary
#BB52F3 #DBF352 #52F36A
monochromatic
#800DBD #A519EF #BB52F3 #D18BF7 #E8C4FB

Accessibility & contrast

On white

3.74
#BB52F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BB52F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52F3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52F3#FFFFFF#000000##000000
##BB52F31.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#B4739C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb52f3;
/* rgb */ color: rgb(187, 82, 243);
/* oklch */ color: oklch(64.3% 0.237 311.5);
Tailwind
colors: {
  custom: {
    50: '#d48af8',
    500: '#bb52f3',
    950: '#000000',
  },
}
SCSS
$custom: #bb52f3;
$custom-light: #d48af8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52f3",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 279.13,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64267,
    "c": 0.23739,
    "h": 311.5
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#BB52F3
secondary
#C8EDB4
accent
#E40250
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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