#BB9FE4#BB9FE4

#BB9FE4 is a light, moderate violet. Relative luminance 0.410; OKLCH L 75.2% C 0.101 H 302.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BB9FE4
RGBrgb(187, 159, 228)
HSLhsl(264, 56%, 76%)
HSVhsv(264, 30%, 89%)
CMYKcmyk(18%, 30.3%, 0%, 10.6%)
CIE-LABlab(70.15, 23.75, -31.05)
CIE-LCHlch(70.15, 39.09, 307.42°)
OKLaboklab(75.2% 0.0547 -0.0854)
OKLCHoklch(75.2% 0.101 302.6)
XYZxyz(46.8924, 40.9625, 78.8199)
Luminance0.4096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE4 #C8E49F
analogous
#9FA5E4 #BB9FE4 #DD9FE4
triadic
#BB9FE4 #E4BB9F #9FE4BB
tetradic
#BB9FE4 #E49FA5 #C8E49F #9FE4DD
square
#BB9FE4 #E49FA5 #C8E49F #9FE4DD
split-complementary
#BB9FE4 #E4DD9F #A5E49F
monochromatic
#773FC9 #996FD7 #BB9FE4 #DDCFF1 #EEE7F8

Accessibility & contrast

On white

2.28
#BB9FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#BB9FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE4#FFFFFF#000000##000000
##BB9FE41.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ABE7
Deuteranopia (green-blind)
#96ABE2
Tritanopia (blue-blind)
#B4A9B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9fe4;
/* rgb */ color: rgb(187, 159, 228);
/* oklch */ color: oklch(75.2% 0.101 302.6);
Tailwind
colors: {
  custom: {
    50: '#d0bbec',
    500: '#bb9fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe4;
$custom-light: #d0bbec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe4",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 228
  },
  "hsl": {
    "h": 264.348,
    "s": 56.098,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75195,
    "c": 0.10147,
    "h": 302.6
  },
  "luminance": 0.40963
}

Semantic roles & 50–950 ramp

primary
#BB9FE4
secondary
#E7F0DB
accent
#C42282
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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