#BB6EF5#BB6EF5

#BB6EF5 is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 68.0% C 0.201 H 308.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BB6EF5
RGBrgb(187, 110, 245)
HSLhsl(274, 87%, 70%)
HSVhsv(274, 55%, 96%)
CMYKcmyk(23.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(60.17, 54.18, -56.09)
CIE-LCHlch(60.17, 77.98, 314.01°)
OKLaboklab(67.95% 0.1245 -0.1577)
OKLCHoklch(67.95% 0.201 308.3)
XYZxyz(42.5476, 28.3098, 89.5914)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6EF5 #A8F56E
analogous
#786EF5 #BB6EF5 #F56EEC
triadic
#BB6EF5 #F5BB6E #6EF5BB
tetradic
#BB6EF5 #F5786E #A8F56E #6EECF5
square
#BB6EF5 #F5786E #A8F56E #6EECF5
split-complementary
#BB6EF5 #ECF56E #6EF578
monochromatic
#830FDA #A035F1 #BB6EF5 #D6A7F9 #F1E1FD

Accessibility & contrast

On white

3.15
#BB6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BB6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6EF5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6EF5#FFFFFF#000000##000000
##BB6EF51.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#B387A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb6ef5;
/* rgb */ color: rgb(187, 110, 245);
/* oklch */ color: oklch(68.0% 0.201 308.3);
Tailwind
colors: {
  custom: {
    50: '#d39af9',
    500: '#bb6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ef5;
$custom-light: #d39af9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ef5",
  "rgb": {
    "r": 187,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 274.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6795,
    "c": 0.2009,
    "h": 308.3
  },
  "luminance": 0.28309
}

Semantic roles & 50–950 ramp

primary
#BB6EF5
secondary
#DDF3CC
accent
#E40263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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