#BB7DEA#BB7DEA

#BB7DEA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.165 H 309.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BB7DEA
RGBrgb(187, 125, 234)
HSLhsl(274, 72%, 70%)
HSVhsv(274, 47%, 92%)
CMYKcmyk(20.1%, 46.6%, 0%, 8.2%)
CIE-LABlab(62.65, 43.85, -46.05)
CIE-LCHlch(62.65, 63.59, 313.59°)
OKLaboklab(69.61% 0.1039 -0.1285)
OKLCHoklch(69.61% 0.165 309)
XYZxyz(42.6756, 31.1731, 81.5948)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DEA #ACEA7D
analogous
#847DEA #BB7DEA #EA7DE3
triadic
#BB7DEA #EABB7D #7DEABB
tetradic
#BB7DEA #EA847D #ACEA7D #7DE3EA
square
#BB7DEA #EA847D #ACEA7D #7DE3EA
split-complementary
#BB7DEA #E3EA7D #7DEA84
monochromatic
#8221CC #9F48E1 #BB7DEA #D7B2F3 #F1E5FB

Accessibility & contrast

On white

2.90
#BB7DEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BB7DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DEA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DEA#FFFFFF#000000##000000
##BB7DEA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#B58FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7dea;
/* rgb */ color: rgb(187, 125, 234);
/* oklch */ color: oklch(69.6% 0.165 309.0);
Tailwind
colors: {
  custom: {
    50: '#d1a4f1',
    500: '#bb7dea',
    950: '#000000',
  },
}
SCSS
$custom: #bb7dea;
$custom-light: #d1a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7dea",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 274.128,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.16519,
    "h": 309
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#BB7DEA
secondary
#DFF0D2
accent
#D41165
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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