#BB9AF2#BB9AF2

#BB9AF2 is a light, vivid violet. Relative luminance 0.401; OKLCH L 74.9% C 0.128 H 300.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BB9AF2
RGBrgb(187, 154, 242)
HSLhsl(263, 77%, 78%)
HSVhsv(263, 36%, 95%)
CMYKcmyk(22.7%, 36.4%, 0%, 5.1%)
CIE-LABlab(69.53, 29.70, -39.67)
CIE-LCHlch(69.53, 49.56, 306.83°)
OKLaboklab(74.91% 0.0652 -0.1101)
OKLCHoklch(74.91% 0.128 300.6)
XYZxyz(48.0726, 40.0867, 89.1921)
Luminance0.4009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AF2 #D1F29A
analogous
#9AA5F2 #BB9AF2 #E79AF2
triadic
#BB9AF2 #F2BB9A #9AF2BB
tetradic
#BB9AF2 #F29AA5 #D1F29A #9AF2E7
square
#BB9AF2 #F29AA5 #D1F29A #9AF2E7
split-complementary
#BB9AF2 #F2E79A #A5F29A
monochromatic
#722EE4 #9664EB #BB9AF2 #E0D0F9 #EDE4FC

Accessibility & contrast

On white

2.33
#BB9AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BB9AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AF2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AF2#FFFFFF#000000##000000
##BB9AF21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F5
Deuteranopia (green-blind)
#8BA9F0
Tritanopia (blue-blind)
#B1A8BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9af2;
/* rgb */ color: rgb(187, 154, 242);
/* oklch */ color: oklch(74.9% 0.128 300.6);
Tailwind
colors: {
  custom: {
    50: '#d1b8f6',
    500: '#bb9af2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9af2;
$custom-light: #d1b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9af2",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 262.5,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7491,
    "c": 0.12794,
    "h": 300.6
  },
  "luminance": 0.40087
}

Semantic roles & 50–950 ramp

primary
#BB9AF2
secondary
#E9F3D8
accent
#D90C8C
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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