#BB9FEA#BB9FEA

#BB9FEA is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.5% C 0.109 H 301.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#BB9FEA
RGBrgb(187, 159, 234)
HSLhsl(262, 64%, 77%)
HSVhsv(262, 32%, 92%)
CMYKcmyk(20.1%, 32.1%, 0%, 8.2%)
CIE-LABlab(70.39, 25.10, -33.96)
CIE-LCHlch(70.39, 42.23, 306.46°)
OKLaboklab(75.45% 0.0563 -0.0938)
OKLCHoklch(75.45% 0.109 301)
XYZxyz(47.7398, 41.3015, 83.2829)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FEA #CEEA9F
analogous
#9FA9EA #BB9FEA #E19FEA
triadic
#BB9FEA #EABB9F #9FEABB
tetradic
#BB9FEA #EA9FA9 #CEEA9F #9FEAE1
square
#BB9FEA #EA9FA9 #CEEA9F #9FEAE1
split-complementary
#BB9FEA #EAE19F #A9EA9F
monochromatic
#743BD4 #976DDF #BB9FEA #DFD1F5 #EDE6FA

Accessibility & contrast

On white

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

On black

9.26
#BB9FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FEA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FEA#FFFFFF#000000##000000
##BB9FEA1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACED
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#B3ABBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9fea;
/* rgb */ color: rgb(187, 159, 234);
/* oklch */ color: oklch(75.5% 0.109 301.0);
Tailwind
colors: {
  custom: {
    50: '#d0bbf1',
    500: '#bb9fea',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fea;
$custom-light: #d0bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fea",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 262.4,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75454,
    "c": 0.10936,
    "h": 301
  },
  "luminance": 0.41302
}

Semantic roles & 50–950 ramp

primary
#BB9FEA
secondary
#E8F1DA
accent
#CC1A89
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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