#BB7FDD#BB7FDD

#BB7FDD is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.147 H 312.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#BB7FDD
RGBrgb(187, 127, 221)
HSLhsl(278, 58%, 68%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(15.4%, 42.5%, 0%, 13.3%)
CIE-LABlab(62.48, 39.93, -39.10)
CIE-LCHlch(62.48, 55.88, 315.60°)
OKLaboklab(69.28% 0.0991 -0.1084)
OKLCHoklch(69.28% 0.147 312.4)
XYZxyz(41.1318, 30.9648, 72.2026)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FDD #A1DD7F
analogous
#8C7FDD #BB7FDD #DD7FD0
triadic
#BB7FDD #DDBB7F #7FDDBB
tetradic
#BB7FDD #DD8C7F #A1DD7F #7FD0DD
square
#BB7FDD #DD8C7F #A1DD7F #7FD0DD
split-complementary
#BB7FDD #D0DD7F #7FDD8C
monochromatic
#832FB2 #A14FD0 #BB7FDD #D5AFEA #EEE0F7

Accessibility & contrast

On white

2.92
#BB7FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#BB7FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FDD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FDD#FFFFFF#000000##000000
##BB7FDD1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E0
Deuteranopia (green-blind)
#7C98DA
Tritanopia (blue-blind)
#B88DA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7fdd;
/* rgb */ color: rgb(187, 127, 221);
/* oklch */ color: oklch(69.3% 0.147 312.4);
Tailwind
colors: {
  custom: {
    50: '#d1a5e8',
    500: '#bb7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fdd;
$custom-light: #d1a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fdd",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 278.298,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69277,
    "c": 0.14681,
    "h": 312.4
  },
  "luminance": 0.30964
}

Semantic roles & 50–950 ramp

primary
#BB7FDD
secondary
#D8EACE
accent
#C6205C
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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