#BB5DF4#BB5DF4

#BB5DF4 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.6% C 0.224 H 310.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BB5DF4
RGBrgb(187, 93, 244)
HSLhsl(277, 87%, 66%)
HSVhsv(277, 62%, 96%)
CMYKcmyk(23.4%, 61.9%, 0%, 4.3%)
CIE-LABlab(57.00, 62.30, -60.59)
CIE-LCHlch(57.00, 86.91, 315.80°)
OKLaboklab(65.63% 0.145 -0.1708)
OKLCHoklch(65.63% 0.224 310.3)
XYZxyz(40.7339, 24.9260, 88.2358)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DF4 #96F45D
analogous
#6F5DF4 #BB5DF4 #F45DE1
triadic
#BB5DF4 #F4BB5D #5DF4BB
tetradic
#BB5DF4 #F46F5D #96F45D #5DE1F4
square
#BB5DF4 #F46F5D #96F45D #5DE1F4
split-complementary
#BB5DF4 #E1F45D #5DF46F
monochromatic
#820EC9 #A324F0 #BB5DF4 #D396F8 #EBD0FC

Accessibility & contrast

On white

3.51
#BB5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#BB5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DF4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DF4#FFFFFF#000000##000000
##BB5DF41.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1185F9
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#B47BA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5df4;
/* rgb */ color: rgb(187, 93, 244);
/* oklch */ color: oklch(65.6% 0.224 310.3);
Tailwind
colors: {
  custom: {
    50: '#d390f8',
    500: '#bb5df4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5df4;
$custom-light: #d390f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5df4",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 277.351,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65625,
    "c": 0.22405,
    "h": 310.3
  },
  "luminance": 0.24925
}

Semantic roles & 50–950 ramp

primary
#BB5DF4
secondary
#D0EFBE
accent
#E40257
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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