#BB9FE2#BB9FE2

#BB9FE2 is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.1% C 0.099 H 303.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BB9FE2
RGBrgb(187, 159, 226)
HSLhsl(265, 54%, 75%)
HSVhsv(265, 30%, 89%)
CMYKcmyk(17.3%, 29.6%, 0%, 11.4%)
CIE-LABlab(70.07, 23.31, -30.07)
CIE-LCHlch(70.07, 38.04, 307.78°)
OKLaboklab(75.11% 0.0542 -0.0827)
OKLCHoklch(75.11% 0.099 303.3)
XYZxyz(46.6163, 40.8521, 77.3662)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE2 #C6E29F
analogous
#9FA4E2 #BB9FE2 #DD9FE2
triadic
#BB9FE2 #E2BB9F #9FE2BB
tetradic
#BB9FE2 #E29FA4 #C6E29F #9FE2DD
square
#BB9FE2 #E29FA4 #C6E29F #9FE2DD
split-complementary
#BB9FE2 #E2DD9F #A4E29F
monochromatic
#7841C6 #9A70D4 #BB9FE2 #DCCEF0 #EEE7F8

Accessibility & contrast

On white

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

On black

9.17
#BB9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE2#FFFFFF#000000##000000
##BB9FE21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ABE5
Deuteranopia (green-blind)
#97ABE0
Tritanopia (blue-blind)
#B5A9B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9fe2;
/* rgb */ color: rgb(187, 159, 226);
/* oklch */ color: oklch(75.1% 0.099 303.3);
Tailwind
colors: {
  custom: {
    50: '#d0bbeb',
    500: '#bb9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe2;
$custom-light: #d0bbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe2",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 265.075,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.09884,
    "h": 303.3
  },
  "luminance": 0.40852
}

Semantic roles & 50–950 ramp

primary
#BB9FE2
secondary
#E7EFDC
accent
#C12480
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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