#BB9DF5#BB9DF5

#BB9DF5 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.6% C 0.127 H 299.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF5
RGBrgb(187, 157, 245)
HSLhsl(260, 81%, 79%)
HSVhsv(260, 36%, 96%)
CMYKcmyk(23.7%, 35.9%, 0%, 3.9%)
CIE-LABlab(70.37, 28.73, -40.00)
CIE-LCHlch(70.37, 49.25, 305.69°)
OKLaboklab(75.59% 0.0616 -0.1111)
OKLCHoklch(75.59% 0.127 299)
XYZxyz(49.0282, 41.2710, 91.7516)
Luminance0.4127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF5 #D7F59D
analogous
#9DABF5 #BB9DF5 #E79DF5
triadic
#BB9DF5 #F5BB9D #9DF5BB
tetradic
#BB9DF5 #F59DAB #D7F59D #9DF5E7
square
#BB9DF5 #F59DAB #D7F59D #9DF5E7
split-complementary
#BB9DF5 #F5E79D #ABF59D
monochromatic
#6E2EEA #9465EF #BB9DF5 #E2D5FB #ECE3FC

Accessibility & contrast

On white

2.27
#BB9DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#BB9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF5
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF5#FFFFFF#000000##000000
##BB9DF51.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF8
Deuteranopia (green-blind)
#8DABF3
Tritanopia (blue-blind)
#B0ABBE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df5;
/* rgb */ color: rgb(187, 157, 245);
/* oklch */ color: oklch(75.6% 0.127 299.0);
Tailwind
colors: {
  custom: {
    50: '#d1baf9',
    500: '#bb9df5',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df5;
$custom-light: #d1baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df5",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 260.455,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75588,
    "c": 0.12705,
    "h": 299
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

primary
#BB9DF5
secondary
#EAF4D7
accent
#DE0895
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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