#BB5FED#BB5FED

#BB5FED is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.214 H 311.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BB5FED
RGBrgb(187, 95, 237)
HSLhsl(279, 80%, 65%)
HSVhsv(279, 60%, 93%)
CMYKcmyk(21.1%, 59.9%, 0%, 7.1%)
CIE-LABlab(56.94, 59.87, -56.79)
CIE-LCHlch(56.94, 82.52, 316.51°)
OKLaboklab(65.45% 0.1428 -0.1597)
OKLCHoklch(65.45% 0.214 311.8)
XYZxyz(39.8690, 24.8646, 82.8035)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FED #91ED5F
analogous
#745FED #BB5FED #ED5FD8
triadic
#BB5FED #EDBB5F #5FEDBB
tetradic
#BB5FED #ED745F #91ED5F #5FD8ED
square
#BB5FED #ED745F #91ED5F #5FD8ED
split-complementary
#BB5FED #D8ED5F #5FED74
monochromatic
#8215BC #A428E7 #BB5FED #D296F3 #EACDF9

Accessibility & contrast

On white

3.52
#BB5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BB5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FED
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FED#FFFFFF#000000##000000
##BB5FED1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#B5799D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5fed;
/* rgb */ color: rgb(187, 95, 237);
/* oklch */ color: oklch(65.5% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#d391f3',
    500: '#bb5fed',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fed;
$custom-light: #d391f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fed",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 278.873,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6545,
    "c": 0.21419,
    "h": 311.8
  },
  "luminance": 0.24864
}

Semantic roles & 50–950 ramp

primary
#BB5FED
secondary
#CDECBC
accent
#DC0954
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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