#BB6EF2#BB6EF2

#BB6EF2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.8% C 0.198 H 309.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BB6EF2
RGBrgb(187, 110, 242)
HSLhsl(275, 84%, 69%)
HSVhsv(275, 55%, 95%)
CMYKcmyk(22.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(60.00, 53.52, -54.69)
CIE-LCHlch(60.00, 76.52, 314.38°)
OKLaboklab(67.78% 0.1244 -0.1536)
OKLCHoklch(67.78% 0.198 309)
XYZxyz(42.0933, 28.1281, 87.1990)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6EF2 #A5F26E
analogous
#796EF2 #BB6EF2 #F26EE7
triadic
#BB6EF2 #F2BB6E #6EF2BB
tetradic
#BB6EF2 #F2796E #A5F26E #6EE7F2
square
#BB6EF2 #F2796E #A5F26E #6EE7F2
split-complementary
#BB6EF2 #E7F26E #6EF279
monochromatic
#8313D3 #A136ED #BB6EF2 #D5A6F7 #F0DEFC

Accessibility & contrast

On white

3.17
#BB6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BB6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6EF2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6EF2#FFFFFF#000000##000000
##BB6EF21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#B386A6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb6ef2;
/* rgb */ color: rgb(187, 110, 242);
/* oklch */ color: oklch(67.8% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#d29af7',
    500: '#bb6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #bb6ef2;
$custom-light: #d29af7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6ef2",
  "rgb": {
    "r": 187,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 275,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67778,
    "c": 0.19762,
    "h": 309
  },
  "luminance": 0.28127
}

Semantic roles & 50–950 ramp

primary
#BB6EF2
secondary
#DBF1CB
accent
#E00661
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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