#BB9FD7#BB9FD7

#BB9FD7 is a light, moderate violet. Relative luminance 0.403; OKLCH L 74.7% C 0.085 H 307.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BB9FD7
RGBrgb(187, 159, 215)
HSLhsl(270, 41%, 73%)
HSVhsv(270, 26%, 84%)
CMYKcmyk(13%, 26%, 0%, 15.7%)
CIE-LABlab(69.66, 20.92, -24.65)
CIE-LCHlch(69.66, 32.33, 310.32°)
OKLaboklab(74.66% 0.0511 -0.0673)
OKLCHoklch(74.66% 0.085 307.2)
XYZxyz(45.1551, 40.2676, 69.6704)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FD7 #BBD79F
analogous
#9F9FD7 #BB9FD7 #D79FD7
triadic
#BB9FD7 #D7BB9F #9FD7BB
tetradic
#BB9FD7 #D79F9F #BBD79F #9FD7D7
square
#BB9FD7 #D79F9F #BBD79F #9FD7D7
split-complementary
#BB9FD7 #D7D79F #9FD79F
monochromatic
#7E4AB2 #9C74C5 #BB9FD7 #DACAE9 #F0E9F6

Accessibility & contrast

On white

2.32
#BB9FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BB9FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FD7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FD7#FFFFFF#000000##000000
##BB9FD71.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A9D9
Deuteranopia (green-blind)
#9BAAD5
Tritanopia (blue-blind)
#B7A7B3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9fd7;
/* rgb */ color: rgb(187, 159, 215);
/* oklch */ color: oklch(74.7% 0.085 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0bbe3',
    500: '#bb9fd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fd7;
$custom-light: #d0bbe3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fd7",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 215
  },
  "hsl": {
    "h": 270,
    "s": 41.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74657,
    "c": 0.08454,
    "h": 307.2
  },
  "luminance": 0.40267
}

Semantic roles & 50–950 ramp

primary
#BB9FD7
secondary
#E6EDDE
accent
#B43173
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141215
muted
#828183

Preview Lab

Preview with #BB9FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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