#BB9FF2#BB9FF2

#BB9FF2 is a light, moderate violet. Relative luminance 0.418; OKLCH L 75.8% C 0.120 H 299.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BB9FF2
RGBrgb(187, 159, 242)
HSLhsl(260, 76%, 79%)
HSVhsv(260, 34%, 95%)
CMYKcmyk(22.7%, 34.3%, 0%, 5.1%)
CIE-LABlab(70.71, 26.92, -37.82)
CIE-LCHlch(70.71, 46.43, 305.44°)
OKLaboklab(75.81% 0.0582 -0.1048)
OKLCHoklch(75.81% 0.12 299)
XYZxyz(48.9151, 41.7716, 89.4729)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FF2 #D6F29F
analogous
#9FACF2 #BB9FF2 #E49FF2
triadic
#BB9FF2 #F2BB9F #9FF2BB
tetradic
#BB9FF2 #F29FAC #D6F29F #9FF2E4
square
#BB9FF2 #F29FAC #D6F29F #9FF2E4
split-complementary
#BB9FF2 #F2E49F #ACF29F
monochromatic
#6F33E3 #9569EB #BB9FF2 #E1D5F9 #ECE4FB

Accessibility & contrast

On white

2.24
#BB9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BB9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FF2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FF2#FFFFFF#000000##000000
##BB9FF21.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#90ACF0
Tritanopia (blue-blind)
#B1ACBD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ff2;
/* rgb */ color: rgb(187, 159, 242);
/* oklch */ color: oklch(75.8% 0.120 299.0);
Tailwind
colors: {
  custom: {
    50: '#d0bbf6',
    500: '#bb9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ff2;
$custom-light: #d0bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ff2",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 260.241,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75811,
    "c": 0.1199,
    "h": 299
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#BB9FF2
secondary
#EAF3D8
accent
#D80D94
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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