#BB6CE4#BB6CE4

#BB6CE4 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.185 H 312.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#BB6CE4
RGBrgb(187, 108, 228)
HSLhsl(280, 69%, 66%)
HSVhsv(280, 53%, 89%)
CMYKcmyk(18%, 52.6%, 0%, 10.6%)
CIE-LABlab(58.87, 51.51, -48.69)
CIE-LCHlch(58.87, 70.88, 316.62°)
OKLaboklab(66.71% 0.1261 -0.136)
OKLCHoklch(66.71% 0.185 312.8)
XYZxyz(39.8573, 26.8923, 76.4749)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6CE4 #95E46C
analogous
#7F6CE4 #BB6CE4 #E46CD1
triadic
#BB6CE4 #E4BB6C #6CE4BB
tetradic
#BB6CE4 #E47F6C #95E46C #6CD1E4
square
#BB6CE4 #E47F6C #95E46C #6CD1E4
split-complementary
#BB6CE4 #D1E46C #6CE47F
monochromatic
#8221B4 #A338DB #BB6CE4 #D3A0ED #EBD3F7

Accessibility & contrast

On white

3.29
#BB6CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#BB6CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6CE4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6CE4#FFFFFF#000000##000000
##BB6CE41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#B7809E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6ce4;
/* rgb */ color: rgb(187, 108, 228);
/* oklch */ color: oklch(66.7% 0.185 312.8);
Tailwind
colors: {
  custom: {
    50: '#d299ed',
    500: '#bb6ce4',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ce4;
$custom-light: #d299ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ce4",
  "rgb": {
    "r": 187,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 279.5,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.18548,
    "h": 312.8
  },
  "luminance": 0.26891
}

Semantic roles & 50–950 ramp

primary
#BB6CE4
secondary
#D0EAC2
accent
#D11555
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB6CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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