#BB8DFA#BB8DFA

#BB8DFA is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.0% C 0.159 H 302.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BB8DFA
RGBrgb(187, 141, 250)
HSLhsl(265, 92%, 77%)
HSVhsv(265, 44%, 98%)
CMYKcmyk(25.2%, 43.6%, 0%, 2%)
CIE-LABlab(66.91, 38.76, -48.15)
CIE-LCHlch(66.91, 61.81, 308.84°)
OKLaboklab(73.05% 0.0844 -0.1346)
OKLCHoklch(73.05% 0.159 302.1)
XYZxyz(47.2699, 36.5166, 94.9821)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DFA #CCFA8D
analogous
#8D96FA #BB8DFA #F28DFA
triadic
#BB8DFA #FABB8D #8DFABB
tetradic
#BB8DFA #FA8D96 #CCFA8D #8DFAF2
square
#BB8DFA #FA8D96 #CCFA8D #8DFAF2
split-complementary
#BB8DFA #FAF28D #96FA8D
monochromatic
#7518F5 #9852F7 #BB8DFA #DEC8FD #EEE2FE

Accessibility & contrast

On white

2.53
#BB8DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BB8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DFA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DFA#FFFFFF#000000##000000
##BB8DFA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#B0A0B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8dfa;
/* rgb */ color: rgb(187, 141, 250);
/* oklch */ color: oklch(73.0% 0.159 302.1);
Tailwind
colors: {
  custom: {
    50: '#d1affc',
    500: '#bb8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dfa;
$custom-light: #d1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dfa",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 265.321,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73048,
    "c": 0.15888,
    "h": 302.1
  },
  "luminance": 0.36517
}

Semantic roles & 50–950 ramp

primary
#BB8DFA
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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