#BB7DF9#BB7DF9

#BB7DF9 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.183 H 305.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BB7DF9
RGBrgb(187, 125, 249)
HSLhsl(270, 91%, 73%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(24.9%, 49.8%, 0%, 2.4%)
CIE-LABlab(63.40, 47.22, -53.15)
CIE-LCHlch(63.40, 71.10, 311.62°)
OKLaboklab(70.41% 0.1055 -0.1491)
OKLCHoklch(70.41% 0.183 305.3)
XYZxyz(44.9224, 32.0719, 93.4281)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DF9 #BBF97D
analogous
#7D7DF9 #BB7DF9 #F97DF9
triadic
#BB7DF9 #F9BB7D #7DF9BB
tetradic
#BB7DF9 #F97D7D #BBF97D #7DF9F9
square
#BB7DF9 #F97D7D #BBF97D #7DF9F9
split-complementary
#BB7DF9 #F9F97D #7DF97D
monochromatic
#7E0BF0 #9C42F6 #BB7DF9 #DAB7FC #F0E2FE

Accessibility & contrast

On white

2.83
#BB7DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BB7DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DF9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DF9#FFFFFF#000000##000000
##BB7DF91.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#B193B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7df9;
/* rgb */ color: rgb(187, 125, 249);
/* oklch */ color: oklch(70.4% 0.183 305.3);
Tailwind
colors: {
  custom: {
    50: '#d2a4fc',
    500: '#bb7df9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7df9;
$custom-light: #d2a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7df9",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 270,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.18269,
    "h": 305.3
  },
  "luminance": 0.32072
}

Semantic roles & 50–950 ramp

primary
#BB7DF9
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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