#BB7CE9#BB7CE9

#BB7CE9 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.166 H 309.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BB7CE9
RGBrgb(187, 124, 233)
HSLhsl(275, 71%, 70%)
HSVhsv(275, 47%, 91%)
CMYKcmyk(19.7%, 46.8%, 0%, 8.6%)
CIE-LABlab(62.39, 44.16, -45.91)
CIE-LCHlch(62.39, 63.70, 313.89°)
OKLaboklab(69.4% 0.1051 -0.128)
OKLCHoklch(69.4% 0.166 309.4)
XYZxyz(42.4064, 30.8639, 80.7984)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CE9 #AAE97C
analogous
#857CE9 #BB7CE9 #E97CE0
triadic
#BB7CE9 #E9BB7C #7CE9BB
tetradic
#BB7CE9 #E9857C #AAE97C #7CE0E9
square
#BB7CE9 #E9857C #AAE97C #7CE0E9
split-complementary
#BB7CE9 #E0E97C #7CE985
monochromatic
#8222C9 #A048E0 #BB7CE9 #D6B0F2 #F1E5FB

Accessibility & contrast

On white

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

On black

7.17
#BB7CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CE9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CE9#FFFFFF#000000##000000
##BB7CE91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7ce9;
/* rgb */ color: rgb(187, 124, 233);
/* oklch */ color: oklch(69.4% 0.166 309.4);
Tailwind
colors: {
  custom: {
    50: '#d1a3f0',
    500: '#bb7ce9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ce9;
$custom-light: #d1a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ce9",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 274.679,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.16565,
    "h": 309.4
  },
  "luminance": 0.30863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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