#BB52FA#BB52FA

#BB52FA is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.7% C 0.244 H 309.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BB52FA
RGBrgb(187, 82, 250)
HSLhsl(278, 94%, 65%)
HSVhsv(278, 67%, 98%)
CMYKcmyk(25.2%, 67.2%, 0%, 2%)
CIE-LABlab(55.59, 68.50, -66.21)
CIE-LCHlch(55.59, 95.27, 315.98°)
OKLaboklab(64.72% 0.1566 -0.1872)
OKLCHoklch(64.72% 0.244 309.9)
XYZxyz(40.7628, 23.5023, 92.8130)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52FA #91FA52
analogous
#6752FA #BB52FA #FA52E5
triadic
#BB52FA #FABB52 #52FABB
tetradic
#BB52FA #FA6752 #91FA52 #52E5FA
square
#BB52FA #FA6752 #91FA52 #52E5FA
split-complementary
#BB52FA #E5FA52 #52FA67
monochromatic
#8206CC #A417F8 #BB52FA #D28DFC #EAC9FD

Accessibility & contrast

On white

3.68
#BB52FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#BB52FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52FA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52FA#FFFFFF#000000##000000
##BB52FA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#3687F6
Tritanopia (blue-blind)
#B276A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb52fa;
/* rgb */ color: rgb(187, 82, 250);
/* oklch */ color: oklch(64.7% 0.244 309.9);
Tailwind
colors: {
  custom: {
    50: '#d48afd',
    500: '#bb52fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb52fa;
$custom-light: #d48afd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52fa",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 277.5,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.24408,
    "h": 309.9
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#BB52FA
secondary
#CDF0B7
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB52FA

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

Preview Lab → · Contrast checker → · Palette generator →

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