#BB5FFB#BB5FFB

#BB5FFB is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.3% C 0.228 H 308.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#BB5FFB
RGBrgb(187, 95, 251)
HSLhsl(275, 95%, 68%)
HSVhsv(275, 62%, 98%)
CMYKcmyk(25.5%, 62.2%, 0%, 1.6%)
CIE-LABlab(57.77, 62.87, -63.26)
CIE-LCHlch(57.77, 89.18, 314.82°)
OKLaboklab(66.31% 0.1425 -0.1786)
OKLCHoklch(66.31% 0.228 308.6)
XYZxyz(41.9948, 25.7149, 93.9993)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FFB #9FFB5F
analogous
#6D5FFB #BB5FFB #FB5FED
triadic
#BB5FFB #FBBB5F #5FFBBB
tetradic
#BB5FFB #FB6D5F #9FFB5F #5FEDFB
square
#BB5FFB #FB6D5F #9FFB5F #5FEDFB
split-complementary
#BB5FFB #EDFB5F #5FFB6D
monochromatic
#8305DA #A223FA #BB5FFB #D49BFC #EED6FE

Accessibility & contrast

On white

3.42
#BB5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#BB5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FFB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FFB#FFFFFF#000000##000000
##BB5FFB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#B27EA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bb5ffb;
/* rgb */ color: rgb(187, 95, 251);
/* oklch */ color: oklch(66.3% 0.228 308.6);
Tailwind
colors: {
  custom: {
    50: '#d491fd',
    500: '#bb5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ffb;
$custom-light: #d491fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ffb",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 275.385,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6631,
    "c": 0.22847,
    "h": 308.6
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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