#BB7CF9#BB7CF9

#BB7CF9 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.3% C 0.184 H 305.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BB7CF9
RGBrgb(187, 124, 249)
HSLhsl(270, 91%, 73%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(24.9%, 50.2%, 0%, 2.4%)
CIE-LABlab(63.19, 47.76, -53.48)
CIE-LCHlch(63.19, 71.70, 311.76°)
OKLaboklab(70.25% 0.1068 -0.1501)
OKLCHoklch(70.25% 0.184 305.4)
XYZxyz(44.7965, 31.8199, 93.3861)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF9 #BAF97C
analogous
#7C7CF9 #BB7CF9 #F97CF9
triadic
#BB7CF9 #F9BB7C #7CF9BB
tetradic
#BB7CF9 #F97C7C #BAF97C #7CF9F9
square
#BB7CF9 #F97C7C #BAF97C #7CF9F9
split-complementary
#BB7CF9 #F9F97C #7CF97C
monochromatic
#7E0BF0 #9D41F6 #BB7CF9 #D9B7FC #F0E2FE

Accessibility & contrast

On white

2.85
#BB7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BB7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CF9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CF9#FFFFFF#000000##000000
##BB7CF91.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#B192AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7cf9;
/* rgb */ color: rgb(187, 124, 249);
/* oklch */ color: oklch(70.3% 0.184 305.4);
Tailwind
colors: {
  custom: {
    50: '#d2a3fc',
    500: '#bb7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf9;
$custom-light: #d2a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf9",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 270.24,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70253,
    "c": 0.18424,
    "h": 305.4
  },
  "luminance": 0.3182
}

Semantic roles & 50–950 ramp

primary
#BB7CF9
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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