#BB7CEB#BB7CEB

#BB7CEB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.168 H 308.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BB7CEB
RGBrgb(187, 124, 235)
HSLhsl(274, 74%, 70%)
HSVhsv(274, 47%, 92%)
CMYKcmyk(20.4%, 47.2%, 0%, 7.8%)
CIE-LABlab(62.49, 44.61, -46.87)
CIE-LCHlch(62.49, 64.70, 313.58°)
OKLaboklab(69.5% 0.1053 -0.1308)
OKLCHoklch(69.5% 0.168 308.8)
XYZxyz(42.6937, 30.9788, 82.3116)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CEB #ACEB7C
analogous
#837CEB #BB7CEB #EB7CE3
triadic
#BB7CEB #EBBB7C #7CEBBB
tetradic
#BB7CEB #EB837C #ACEB7C #7CE3EB
square
#BB7CEB #EB837C #ACEB7C #7CE3EB
split-complementary
#BB7CEB #E3EB7C #7CEB83
monochromatic
#821FCD #9F47E3 #BB7CEB #D7B1F3 #F1E4FB

Accessibility & contrast

On white

2.92
#BB7CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#BB7CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CEB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CEB#FFFFFF#000000##000000
##BB7CEB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B58EA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7ceb;
/* rgb */ color: rgb(187, 124, 235);
/* oklch */ color: oklch(69.5% 0.168 308.8);
Tailwind
colors: {
  custom: {
    50: '#d1a3f2',
    500: '#bb7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ceb;
$custom-light: #d1a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ceb",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 274.054,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69501,
    "c": 0.16797,
    "h": 308.8
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#BB7CEB
secondary
#DFF1D2
accent
#D61065
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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