#BB7DE9#BB7DE9

#BB7DE9 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.164 H 309.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BB7DE9
RGBrgb(187, 125, 233)
HSLhsl(274, 71%, 70%)
HSVhsv(274, 46%, 91%)
CMYKcmyk(19.7%, 46.4%, 0%, 8.6%)
CIE-LABlab(62.61, 43.62, -45.57)
CIE-LCHlch(62.61, 63.09, 313.75°)
OKLaboklab(69.56% 0.1037 -0.1271)
OKLCHoklch(69.56% 0.164 309.2)
XYZxyz(42.5323, 31.1158, 80.8403)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DE9 #ABE97D
analogous
#857DE9 #BB7DE9 #E97DE1
triadic
#BB7DE9 #E9BB7D #7DE9BB
tetradic
#BB7DE9 #E9857D #ABE97D #7DE1E9
square
#BB7DE9 #E9857D #ABE97D #7DE1E9
split-complementary
#BB7DE9 #E1E97D #7DE985
monochromatic
#8222CA #A049E0 #BB7DE9 #D6B1F2 #F1E5FB

Accessibility & contrast

On white

2.91
#BB7DE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BB7DE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DE9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DE9#FFFFFF#000000##000000
##BB7DE91.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#7498E6
Tritanopia (blue-blind)
#B58EA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7de9;
/* rgb */ color: rgb(187, 125, 233);
/* oklch */ color: oklch(69.6% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#d1a4f0',
    500: '#bb7de9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7de9;
$custom-light: #d1a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7de9",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 233
  },
  "hsl": {
    "h": 274.444,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.16403,
    "h": 309.2
  },
  "luminance": 0.31115
}

Semantic roles & 50–950 ramp

primary
#BB7DE9
secondary
#DFF0D2
accent
#D31264
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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