#BB5EEC#BB5EEC

#BB5EEC is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.3% C 0.215 H 312.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BB5EEC
RGBrgb(187, 94, 236)
HSLhsl(279, 79%, 65%)
HSVhsv(279, 60%, 93%)
CMYKcmyk(20.8%, 60.2%, 0%, 7.5%)
CIE-LABlab(56.71, 60.14, -56.60)
CIE-LCHlch(56.71, 82.59, 316.74°)
OKLaboklab(65.26% 0.144 -0.1591)
OKLCHoklch(65.26% 0.215 312.1)
XYZxyz(39.6338, 24.6273, 82.0063)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EEC #8FEC5E
analogous
#745EEC #BB5EEC #EC5ED6
triadic
#BB5EEC #ECBB5E #5EECBB
tetradic
#BB5EEC #EC745E #8FEC5E #5ED6EC
square
#BB5EEC #EC745E #8FEC5E #5ED6EC
split-complementary
#BB5EEC #D6EC5E #5EEC74
monochromatic
#8116BA #A427E6 #BB5EEC #D295F2 #E9CBF9

Accessibility & contrast

On white

3.54
#BB5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BB5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EEC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EEC#FFFFFF#000000##000000
##BB5EEC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#B6789C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5eec;
/* rgb */ color: rgb(187, 94, 236);
/* oklch */ color: oklch(65.3% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#d390f3',
    500: '#bb5eec',
    950: '#000000',
  },
}
SCSS
$custom: #bb5eec;
$custom-light: #d390f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5eec",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 279.296,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65263,
    "c": 0.21458,
    "h": 312.1
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

primary
#BB5EEC
secondary
#CBEBBB
accent
#DB0A52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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