#BB7FDB#BB7FDB

#BB7FDB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.144 H 313.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BB7FDB
RGBrgb(187, 127, 219)
HSLhsl(279, 56%, 68%)
HSVhsv(279, 42%, 86%)
CMYKcmyk(14.6%, 42%, 0%, 14.1%)
CIE-LABlab(62.39, 39.50, -38.12)
CIE-LCHlch(62.39, 54.90, 316.02°)
OKLaboklab(69.18% 0.0987 -0.1055)
OKLCHoklch(69.18% 0.145 313.1)
XYZxyz(40.8669, 30.8588, 70.8076)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FDB #9FDB7F
analogous
#8D7FDB #BB7FDB #DB7FCD
triadic
#BB7FDB #DBBB7F #7FDBBB
tetradic
#BB7FDB #DB8D7F #9FDB7F #7FCDDB
square
#BB7FDB #DB8D7F #9FDB7F #7FCDDB
split-complementary
#BB7FDB #CDDB7F #7FDB8D
monochromatic
#8331AF #A24FCE #BB7FDB #D4AFE8 #EEDFF6

Accessibility & contrast

On white

2.93
#BB7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#BB7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FDB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FDB#FFFFFF#000000##000000
##BB7FDB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DE
Deuteranopia (green-blind)
#7D98D8
Tritanopia (blue-blind)
#B88CA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7fdb;
/* rgb */ color: rgb(187, 127, 219);
/* oklch */ color: oklch(69.2% 0.144 313.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5e6',
    500: '#bb7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fdb;
$custom-light: #d1a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fdb",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 279.13,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.1445,
    "h": 313.1
  },
  "luminance": 0.30858
}

Semantic roles & 50–950 ramp

primary
#BB7FDB
secondary
#D7E9CD
accent
#C4225A
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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