#BB5FFC#BB5FFC

#BB5FFC is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.4% C 0.229 H 308.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BB5FFC
RGBrgb(187, 95, 252)
HSLhsl(275, 96%, 68%)
HSVhsv(275, 62%, 99%)
CMYKcmyk(25.8%, 62.3%, 0%, 1.2%)
CIE-LABlab(57.83, 63.08, -63.71)
CIE-LCHlch(57.83, 89.66, 314.72°)
OKLaboklab(66.37% 0.1424 -0.1799)
OKLCHoklch(66.37% 0.229 308.4)
XYZxyz(42.1529, 25.7781, 94.8316)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FFC #A0FC5F
analogous
#6C5FFC #BB5FFC #FC5FEF
triadic
#BB5FFC #FCBB5F #5FFCBB
tetradic
#BB5FFC #FC6C5F #A0FC5F #5FEFFC
square
#BB5FFC #FC6C5F #A0FC5F #5FEFFC
split-complementary
#BB5FFC #EFFC5F #5FFC6C
monochromatic
#8304DC #A123FB #BB5FFC #D59BFD #EED7FE

Accessibility & contrast

On white

3.41
#BB5FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BB5FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FFC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FFC#FFFFFF#000000##000000
##BB5FFC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#B17FA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bb5ffc;
/* rgb */ color: rgb(187, 95, 252);
/* oklch */ color: oklch(66.4% 0.229 308.4);
Tailwind
colors: {
  custom: {
    50: '#d491fe',
    500: '#bb5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ffc;
$custom-light: #d491fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ffc",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 275.159,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66373,
    "c": 0.22949,
    "h": 308.4
  },
  "luminance": 0.25777
}

Semantic roles & 50–950 ramp

primary
#BB5FFC
secondary
#D7F3C3
accent
#E6005F
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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