#BB9FED#BB9FED

#BB9FED is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.6% C 0.113 H 300.2°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#BB9FED
RGBrgb(187, 159, 237)
HSLhsl(262, 68%, 78%)
HSVhsv(262, 33%, 93%)
CMYKcmyk(21.1%, 32.9%, 0%, 7.1%)
CIE-LABlab(70.51, 25.78, -35.42)
CIE-LCHlch(70.51, 43.80, 306.05°)
OKLaboklab(75.59% 0.057 -0.0979)
OKLCHoklch(75.59% 0.113 300.2)
XYZxyz(48.1744, 41.4753, 85.5719)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FED #D1ED9F
analogous
#9FAAED #BB9FED #E29FED
triadic
#BB9FED #EDBB9F #9FEDBB
tetradic
#BB9FED #ED9FAA #D1ED9F #9FEDE2
square
#BB9FED #ED9FAA #D1ED9F #9FEDE2
split-complementary
#BB9FED #EDE29F #AAED9F
monochromatic
#7238DA #966BE3 #BB9FED #E0D3F7 #EDE5FA

Accessibility & contrast

On white

2.26
#BB9FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#BB9FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FED
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FED#FFFFFF#000000##000000
##BB9FED1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#92ACEB
Tritanopia (blue-blind)
#B2ABBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9fed;
/* rgb */ color: rgb(187, 159, 237);
/* oklch */ color: oklch(75.6% 0.113 300.2);
Tailwind
colors: {
  custom: {
    50: '#d0bbf3',
    500: '#bb9fed',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fed;
$custom-light: #d0bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fed",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 261.538,
    "s": 68.421,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.11332,
    "h": 300.2
  },
  "luminance": 0.41475
}

Semantic roles & 50–950 ramp

primary
#BB9FED
secondary
#E9F2D9
accent
#D0158D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FED

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

Preview Lab → · Contrast checker → · Palette generator →

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