#BB6FE4#BB6FE4

#BB6FE4 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.181 H 312.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BB6FE4
RGBrgb(187, 111, 228)
HSLhsl(279, 68%, 66%)
HSVhsv(279, 51%, 89%)
CMYKcmyk(18%, 51.3%, 0%, 10.6%)
CIE-LABlab(59.47, 49.96, -47.75)
CIE-LCHlch(59.47, 69.11, 316.30°)
OKLaboklab(67.14% 0.1221 -0.1333)
OKLCHoklch(67.14% 0.181 312.5)
XYZxyz(40.1791, 27.5360, 76.5822)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6FE4 #98E46F
analogous
#816FE4 #BB6FE4 #E46FD3
triadic
#BB6FE4 #E4BB6F #6FE4BB
tetradic
#BB6FE4 #E4816F #98E46F #6FD3E4
square
#BB6FE4 #E4816F #98E46F #6FD3E4
split-complementary
#BB6FE4 #D3E46F #6FE481
monochromatic
#8222B6 #A33BDA #BB6FE4 #D3A3EE #ECD6F7

Accessibility & contrast

On white

3.23
#BB6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BB6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6FE4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6FE4#FFFFFF#000000##000000
##BB6FE41.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#B7829F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6fe4;
/* rgb */ color: rgb(187, 111, 228);
/* oklch */ color: oklch(67.1% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#d29bed',
    500: '#bb6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bb6fe4;
$custom-light: #d29bed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6fe4",
  "rgb": {
    "r": 187,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 278.974,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67144,
    "c": 0.18079,
    "h": 312.5
  },
  "luminance": 0.27535
}

Semantic roles & 50–950 ramp

primary
#BB6FE4
secondary
#D2EAC4
accent
#D01557
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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