#BB9FE9#BB9FE9

#BB9FE9 is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.4% C 0.108 H 301.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#BB9FE9
RGBrgb(187, 159, 233)
HSLhsl(263, 63%, 77%)
HSVhsv(263, 32%, 91%)
CMYKcmyk(19.7%, 31.8%, 0%, 8.6%)
CIE-LABlab(70.35, 24.87, -33.48)
CIE-LCHlch(70.35, 41.70, 306.61°)
OKLaboklab(75.41% 0.056 -0.0924)
OKLCHoklch(75.41% 0.108 301.2)
XYZxyz(47.5965, 41.2442, 82.5284)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE9 #CDE99F
analogous
#9FA8E9 #BB9FE9 #E09FE9
triadic
#BB9FE9 #E9BB9F #9FE9BB
tetradic
#BB9FE9 #E99FA8 #CDE99F #9FE9E0
square
#BB9FE9 #E99FA8 #CDE99F #9FE9E0
split-complementary
#BB9FE9 #E9E09F #A8E99F
monochromatic
#743BD2 #986DDE #BB9FE9 #DED1F4 #EDE6F9

Accessibility & contrast

On white

2.27
#BB9FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#BB9FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE9#FFFFFF#000000##000000
##BB9FE91.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEC
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#B3AABA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9fe9;
/* rgb */ color: rgb(187, 159, 233);
/* oklch */ color: oklch(75.4% 0.108 301.2);
Tailwind
colors: {
  custom: {
    50: '#d0bbf0',
    500: '#bb9fe9',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe9;
$custom-light: #d0bbf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe9",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 233
  },
  "hsl": {
    "h": 262.703,
    "s": 62.712,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7541,
    "c": 0.10804,
    "h": 301.2
  },
  "luminance": 0.41244
}

Semantic roles & 50–950 ramp

primary
#BB9FE9
secondary
#E8F1DA
accent
#CA1B88
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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