#BB5DF3#BB5DF3

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

Color values

HEX#BB5DF3
RGBrgb(187, 93, 243)
HSLhsl(278, 86%, 66%)
HSVhsv(278, 62%, 95%)
CMYKcmyk(23%, 61.7%, 0%, 4.7%)
CIE-LABlab(56.94, 62.09, -60.13)
CIE-LCHlch(56.94, 86.44, 315.92°)
OKLaboklab(65.56% 0.145 -0.1694)
OKLCHoklch(65.56% 0.223 310.6)
XYZxyz(40.5825, 24.8654, 87.4383)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DF3 #95F35D
analogous
#705DF3 #BB5DF3 #F35DE0
triadic
#BB5DF3 #F3BB5D #5DF3BB
tetradic
#BB5DF3 #F3705D #95F35D #5DE0F3
square
#BB5DF3 #F3705D #95F35D #5DE0F3
split-complementary
#BB5DF3 #E0F35D #5DF370
monochromatic
#820FC7 #A324EF #BB5DF3 #D396F7 #EBCFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5DF3#FFFFFF#000000##000000
##BB5DF31.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)
#1584F8
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#B47AA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5df3;
/* rgb */ color: rgb(187, 93, 243);
/* oklch */ color: oklch(65.6% 0.223 310.6);
Tailwind
colors: {
  custom: {
    50: '#d390f8',
    500: '#bb5df3',
    950: '#000000',
  },
}
SCSS
$custom: #bb5df3;
$custom-light: #d390f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5df3",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 277.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65563,
    "c": 0.22304,
    "h": 310.6
  },
  "luminance": 0.24865
}

Semantic roles & 50–950 ramp

primary
#BB5DF3
secondary
#D0EFBD
accent
#E30356
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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