#BB7DEF#BB7DEF

#BB7DEF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.171 H 307.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BB7DEF
RGBrgb(187, 125, 239)
HSLhsl(273, 78%, 71%)
HSVhsv(273, 48%, 94%)
CMYKcmyk(21.8%, 47.7%, 0%, 6.3%)
CIE-LABlab(62.90, 44.96, -48.44)
CIE-LCHlch(62.90, 66.08, 312.87°)
OKLaboklab(69.87% 0.1045 -0.1354)
OKLCHoklch(69.87% 0.171 307.7)
XYZxyz(43.4040, 31.4645, 85.4313)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DEF #B1EF7D
analogous
#827DEF #BB7DEF #EF7DEA
triadic
#BB7DEF #EFBB7D #7DEFBB
tetradic
#BB7DEF #EF827D #B1EF7D #7DEAEF
square
#BB7DEF #EF827D #B1EF7D #7DEAEF
split-complementary
#BB7DEF #EAEF7D #7DEF82
monochromatic
#811AD7 #9E47E8 #BB7DEF #D8B3F6 #F1E4FC

Accessibility & contrast

On white

2.88
#BB7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BB7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DEF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DEF#FFFFFF#000000##000000
##BB7DEF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#B490AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7def;
/* rgb */ color: rgb(187, 125, 239);
/* oklch */ color: oklch(69.9% 0.171 307.7);
Tailwind
colors: {
  custom: {
    50: '#d2a4f5',
    500: '#bb7def',
    950: '#000000',
  },
}
SCSS
$custom: #bb7def;
$custom-light: #d2a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7def",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 272.632,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.17102,
    "h": 307.7
  },
  "luminance": 0.31464
}

Semantic roles & 50–950 ramp

primary
#BB7DEF
secondary
#E3F3D5
accent
#DA0B6A
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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