#BB7EDF#BB7EDF

#BB7EDF is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.151 H 312.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#BB7EDF
RGBrgb(187, 126, 223)
HSLhsl(278, 60%, 68%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(16.1%, 43.5%, 0%, 12.5%)
CIE-LABlab(62.35, 40.90, -40.41)
CIE-LCHlch(62.35, 57.50, 315.34°)
OKLaboklab(69.21% 0.1008 -0.1121)
OKLCHoklch(69.21% 0.151 312)
XYZxyz(41.2713, 30.8150, 73.5715)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EDF #A2DF7E
analogous
#8A7EDF #BB7EDF #DF7ED2
triadic
#BB7EDF #DFBB7E #7EDFBB
tetradic
#BB7EDF #DF8A7E #A2DF7E #7ED2DF
square
#BB7EDF #DF8A7E #A2DF7E #7ED2DF
split-complementary
#BB7EDF #D2DF7E #7EDF8A
monochromatic
#832DB6 #A14DD3 #BB7EDF #D5AFEB #EFE0F7

Accessibility & contrast

On white

2.93
#BB7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#BB7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EDF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EDF#FFFFFF#000000##000000
##BB7EDF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E2
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#B78CA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7edf;
/* rgb */ color: rgb(187, 126, 223);
/* oklch */ color: oklch(69.2% 0.151 312.0);
Tailwind
colors: {
  custom: {
    50: '#d1a4e9',
    500: '#bb7edf',
    950: '#000000',
  },
}
SCSS
$custom: #bb7edf;
$custom-light: #d1a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7edf",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 277.732,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69212,
    "c": 0.15079,
    "h": 312
  },
  "luminance": 0.30814
}

Semantic roles & 50–950 ramp

primary
#BB7EDF
secondary
#D9EBCE
accent
#C81E5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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