#BB9FE7#BB9FE7

#BB9FE7 is a light, moderate violet. Relative luminance 0.411; OKLCH L 75.3% C 0.105 H 301.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#BB9FE7
RGBrgb(187, 159, 231)
HSLhsl(263, 60%, 76%)
HSVhsv(263, 31%, 91%)
CMYKcmyk(19%, 31.2%, 0%, 9.4%)
CIE-LABlab(70.27, 24.42, -32.51)
CIE-LCHlch(70.27, 40.66, 306.91°)
OKLaboklab(75.32% 0.0555 -0.0896)
OKLCHoklch(75.32% 0.105 301.8)
XYZxyz(47.3124, 41.1306, 81.0323)
Luminance0.4113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FE7 #CBE79F
analogous
#9FA7E7 #BB9FE7 #DF9FE7
triadic
#BB9FE7 #E7BB9F #9FE7BB
tetradic
#BB9FE7 #E79FA7 #CBE79F #9FE7DF
square
#BB9FE7 #E79FA7 #CBE79F #9FE7DF
split-complementary
#BB9FE7 #E7DF9F #A7E79F
monochromatic
#763DCF #986EDB #BB9FE7 #DED0F3 #EEE7F9

Accessibility & contrast

On white

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

On black

9.23
#BB9FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FE7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FE7#FFFFFF#000000##000000
##BB9FE71.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABEA
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#B4AAB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9fe7;
/* rgb */ color: rgb(187, 159, 231);
/* oklch */ color: oklch(75.3% 0.105 301.8);
Tailwind
colors: {
  custom: {
    50: '#d0bbef',
    500: '#bb9fe7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fe7;
$custom-light: #d0bbef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fe7",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 231
  },
  "hsl": {
    "h": 263.333,
    "s": 60,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.10541,
    "h": 301.8
  },
  "luminance": 0.41131
}

Semantic roles & 50–950 ramp

primary
#BB9FE7
secondary
#E8F0DB
accent
#C81E86
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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