#BB6FE2#BB6FE2

#BB6FE2 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.179 H 313.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BB6FE2
RGBrgb(187, 111, 226)
HSLhsl(280, 66%, 66%)
HSVhsv(280, 51%, 89%)
CMYKcmyk(17.3%, 50.9%, 0%, 11.4%)
CIE-LABlab(59.37, 49.54, -46.79)
CIE-LCHlch(59.37, 68.14, 316.63°)
OKLaboklab(67.04% 0.1219 -0.1305)
OKLCHoklch(67.04% 0.179 313)
XYZxyz(39.9031, 27.4256, 75.1284)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6FE2 #96E26F
analogous
#816FE2 #BB6FE2 #E26FCF
triadic
#BB6FE2 #E2BB6F #6FE2BB
tetradic
#BB6FE2 #E2816F #96E26F #6FCFE2
square
#BB6FE2 #E2816F #96E26F #6FCFE2
split-complementary
#BB6FE2 #CFE26F #6FE281
monochromatic
#8224B3 #A33CD8 #BB6FE2 #D3A2EC #EBD5F7

Accessibility & contrast

On white

3.24
#BB6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BB6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6FE2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6FE2#FFFFFF#000000##000000
##BB6FE21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#B7819E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6fe2;
/* rgb */ color: rgb(187, 111, 226);
/* oklch */ color: oklch(67.0% 0.179 313.0);
Tailwind
colors: {
  custom: {
    50: '#d29beb',
    500: '#bb6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb6fe2;
$custom-light: #d29beb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6fe2",
  "rgb": {
    "r": 187,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 279.652,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67036,
    "c": 0.17861,
    "h": 313
  },
  "luminance": 0.27425
}

Semantic roles & 50–950 ramp

primary
#BB6FE2
secondary
#D0E9C4
accent
#CE1755
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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