#BB9FE5#BB9FE5

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

Color values

HEX#BB9FE5
RGBrgb(187, 159, 229)
HSLhsl(264, 57%, 76%)
HSVhsv(264, 31%, 90%)
CMYKcmyk(18.3%, 30.6%, 0%, 10.2%)
CIE-LABlab(70.19, 23.97, -31.53)
CIE-LCHlch(70.19, 39.61, 307.24°)
OKLaboklab(75.24% 0.055 -0.0868)
OKLCHoklch(75.24% 0.103 302.3)
XYZxyz(47.0316, 41.0182, 79.5531)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE5 #C9E59F
analogous
#9FA6E5 #BB9FE5 #DE9FE5
triadic
#BB9FE5 #E5BB9F #9FE5BB
tetradic
#BB9FE5 #E59FA6 #C9E59F #9FE5DE
square
#BB9FE5 #E59FA6 #C9E59F #9FE5DE
split-complementary
#BB9FE5 #E5DE9F #A6E59F
monochromatic
#773FCB #996FD8 #BB9FE5 #DDCFF2 #EEE7F8

Accessibility & contrast

On white

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

On black

9.20
#BB9FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE5#FFFFFF#000000##000000
##BB9FE51.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABE8
Deuteranopia (green-blind)
#95ABE3
Tritanopia (blue-blind)
#B4AAB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9fe5;
/* rgb */ color: rgb(187, 159, 229);
/* oklch */ color: oklch(75.2% 0.103 302.3);
Tailwind
colors: {
  custom: {
    50: '#d0bbed',
    500: '#bb9fe5',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe5;
$custom-light: #d0bbed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe5",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 264,
    "s": 57.377,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.10278,
    "h": 302.3
  },
  "luminance": 0.41018
}

Semantic roles & 50–950 ramp

primary
#BB9FE5
secondary
#E8F0DB
accent
#C52183
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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