#BB5DF5#BB5DF5

#BB5DF5 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.7% C 0.225 H 310.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BB5DF5
RGBrgb(187, 93, 245)
HSLhsl(277, 88%, 66%)
HSVhsv(277, 62%, 96%)
CMYKcmyk(23.7%, 62%, 0%, 3.9%)
CIE-LABlab(57.06, 62.52, -61.06)
CIE-LCHlch(57.06, 87.38, 315.68°)
OKLaboklab(65.69% 0.145 -0.1721)
OKLCHoklch(65.69% 0.225 310.1)
XYZxyz(40.8861, 24.9869, 89.0376)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DF5 #97F55D
analogous
#6F5DF5 #BB5DF5 #F55DE3
triadic
#BB5DF5 #F5BB5D #5DF5BB
tetradic
#BB5DF5 #F56F5D #97F55D #5DE3F5
square
#BB5DF5 #F56F5D #97F55D #5DE3F5
split-complementary
#BB5DF5 #E3F55D #5DF56F
monochromatic
#820DCB #A323F1 #BB5DF5 #D397F9 #EBD0FC

Accessibility & contrast

On white

3.50
#BB5DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BB5DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DF5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DF5#FFFFFF#000000##000000
##BB5DF51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C85FA
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#B37BA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5df5;
/* rgb */ color: rgb(187, 93, 245);
/* oklch */ color: oklch(65.7% 0.225 310.1);
Tailwind
colors: {
  custom: {
    50: '#d390f9',
    500: '#bb5df5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5df5;
$custom-light: #d390f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5df5",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 277.105,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.22506,
    "h": 310.1
  },
  "luminance": 0.24986
}

Semantic roles & 50–950 ramp

primary
#BB5DF5
secondary
#D1F0BE
accent
#E50158
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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