#BB9EDF#BB9EDF

#BB9EDF is a light, moderate violet. Relative luminance 0.403; OKLCH L 74.8% C 0.097 H 304.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BB9EDF
RGBrgb(187, 158, 223)
HSLhsl(267, 50%, 75%)
HSVhsv(267, 29%, 87%)
CMYKcmyk(16.1%, 29.1%, 0%, 12.5%)
CIE-LABlab(69.72, 23.21, -28.97)
CIE-LCHlch(69.72, 37.12, 308.70°)
OKLaboklab(74.8% 0.0548 -0.0795)
OKLCHoklch(74.8% 0.097 304.6)
XYZxyz(46.0370, 40.3464, 75.1600)
Luminance0.4035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EDF #C2DF9E
analogous
#9EA2DF #BB9EDF #DC9EDF
triadic
#BB9EDF #DFBB9E #9EDFBB
tetradic
#BB9EDF #DF9EA2 #C2DF9E #9EDFDC
square
#BB9EDF #DF9EA2 #C2DF9E #9EDFDC
split-complementary
#BB9EDF #DFDC9E #A2DF9E
monochromatic
#7A42C1 #9B70D0 #BB9EDF #DBCCEE #EFE8F7

Accessibility & contrast

On white

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

On black

9.07
#BB9EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EDF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EDF#FFFFFF#000000##000000
##BB9EDF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#97AADD
Tritanopia (blue-blind)
#B6A7B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9edf;
/* rgb */ color: rgb(187, 158, 223);
/* oklch */ color: oklch(74.8% 0.097 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0bae9',
    500: '#bb9edf',
    950: '#000000',
  },
}
SCSS
$custom: #bb9edf;
$custom-light: #d0bae9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9edf",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 223
  },
  "hsl": {
    "h": 266.769,
    "s": 50.388,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74798,
    "c": 0.09661,
    "h": 304.6
  },
  "luminance": 0.40346
}

Semantic roles & 50–950 ramp

primary
#BB9EDF
secondary
#E6EEDD
accent
#BE287B
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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