#BB66ED#BB66ED

#BB66ED is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.204 H 311.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BB66ED
RGBrgb(187, 102, 237)
HSLhsl(278, 79%, 66%)
HSVhsv(278, 57%, 93%)
CMYKcmyk(21.1%, 57%, 0%, 7.1%)
CIE-LABlab(58.21, 56.46, -54.77)
CIE-LCHlch(58.21, 78.66, 315.87°)
OKLaboklab(66.37% 0.1342 -0.1538)
OKLCHoklch(66.37% 0.204 311.1)
XYZxyz(40.5281, 26.1828, 83.0232)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB66ED #98ED66
analogous
#7866ED #BB66ED #ED66DB
triadic
#BB66ED #EDBB66 #66EDBB
tetradic
#BB66ED #ED7866 #98ED66 #66DBED
square
#BB66ED #ED7866 #98ED66 #66DBED
split-complementary
#BB66ED #DBED66 #66ED78
monochromatic
#8217C2 #A32FE7 #BB66ED #D39DF3 #ECD4FA

Accessibility & contrast

On white

3.37
#BB66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#BB66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB66ED
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB66ED#FFFFFF#000000##000000
##BB66ED1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#B57EA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #bb66ed;
/* rgb */ color: rgb(187, 102, 237);
/* oklch */ color: oklch(66.4% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#d395f3',
    500: '#bb66ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb66ed;
$custom-light: #d395f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb66ed",
  "rgb": {
    "r": 187,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 277.778,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66374,
    "c": 0.20412,
    "h": 311.1
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#BB66ED
secondary
#D2EDC2
accent
#DB0A58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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