#BB5EFD#BB5EFD

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

Color values

HEX#BB5EFD
RGBrgb(187, 94, 253)
HSLhsl(275, 98%, 68%)
HSVhsv(275, 63%, 99%)
CMYKcmyk(26.1%, 62.8%, 0%, 0.8%)
CIE-LABlab(57.72, 63.77, -64.44)
CIE-LCHlch(57.72, 90.66, 314.70°)
OKLaboklab(66.31% 0.1435 -0.1821)
OKLCHoklch(66.31% 0.232 308.2)
XYZxyz(42.2222, 25.6627, 95.6386)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EFD #A0FD5E
analogous
#6B5EFD #BB5EFD #FD5EF0
triadic
#BB5EFD #FDBB5E #5EFDBB
tetradic
#BB5EFD #FD6B5E #A0FD5E #5EF0FD
square
#BB5EFD #FD6B5E #A0FD5E #5EF0FD
split-complementary
#BB5EFD #F0FD5E #5EFD6B
monochromatic
#8303DE #A122FC #BB5EFD #D59AFE #EED7FF

Accessibility & contrast

On white

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

On black

6.13
#BB5EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EFD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EFD#FFFFFF#000000##000000
##BB5EFD1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#428CF9
Tritanopia (blue-blind)
#B17EA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bb5efd;
/* rgb */ color: rgb(187, 94, 253);
/* oklch */ color: oklch(66.3% 0.232 308.2);
Tailwind
colors: {
  custom: {
    50: '#d491ff',
    500: '#bb5efd',
    950: '#000000',
  },
}
SCSS
$custom: #bb5efd;
$custom-light: #d491ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5efd",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 275.094,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.23183,
    "h": 308.2
  },
  "luminance": 0.25662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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