#BB9FE3#BB9FE3

#BB9FE3 is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.2% C 0.100 H 302.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BB9FE3
RGBrgb(187, 159, 227)
HSLhsl(265, 55%, 76%)
HSVhsv(265, 30%, 89%)
CMYKcmyk(17.6%, 30%, 0%, 11%)
CIE-LABlab(70.11, 23.53, -30.56)
CIE-LCHlch(70.11, 38.57, 307.60°)
OKLaboklab(75.15% 0.0545 -0.084)
OKLCHoklch(75.15% 0.1 302.9)
XYZxyz(46.7540, 40.9072, 78.0909)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE3 #C7E39F
analogous
#9FA5E3 #BB9FE3 #DD9FE3
triadic
#BB9FE3 #E3BB9F #9FE3BB
tetradic
#BB9FE3 #E39FA5 #C7E39F #9FE3DD
square
#BB9FE3 #E39FA5 #C7E39F #9FE3DD
split-complementary
#BB9FE3 #E3DD9F #A5E39F
monochromatic
#7840C7 #9970D5 #BB9FE3 #DDCEF1 #EEE7F8

Accessibility & contrast

On white

2.29
#BB9FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#BB9FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE3#FFFFFF#000000##000000
##BB9FE31.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ABE6
Deuteranopia (green-blind)
#96ABE1
Tritanopia (blue-blind)
#B5A9B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9fe3;
/* rgb */ color: rgb(187, 159, 227);
/* oklch */ color: oklch(75.2% 0.100 302.9);
Tailwind
colors: {
  custom: {
    50: '#d0bbec',
    500: '#bb9fe3',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe3;
$custom-light: #d0bbec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe3",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 227
  },
  "hsl": {
    "h": 264.706,
    "s": 54.839,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75152,
    "c": 0.10015,
    "h": 302.9
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

primary
#BB9FE3
secondary
#E7EFDC
accent
#C22381
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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