#BB7FDC#BB7FDC

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

Color values

HEX#BB7FDC
RGBrgb(187, 127, 220)
HSLhsl(279, 57%, 68%)
HSVhsv(279, 42%, 86%)
CMYKcmyk(15%, 42.3%, 0%, 13.7%)
CIE-LABlab(62.43, 39.71, -38.61)
CIE-LCHlch(62.43, 55.39, 315.81°)
OKLaboklab(69.23% 0.0989 -0.1069)
OKLCHoklch(69.23% 0.146 312.8)
XYZxyz(40.9990, 30.9117, 71.5030)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FDC #A0DC7F
analogous
#8C7FDC #BB7FDC #DC7FCE
triadic
#BB7FDC #DCBB7F #7FDCBB
tetradic
#BB7FDC #DC8C7F #A0DC7F #7FCEDC
square
#BB7FDC #DC8C7F #A0DC7F #7FCEDC
split-complementary
#BB7FDC #CEDC7F #7FDC8C
monochromatic
#8330B0 #A14FCF #BB7FDC #D5AFE9 #EEDFF6

Accessibility & contrast

On white

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

On black

7.18
#BB7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FDC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FDC#FFFFFF#000000##000000
##BB7FDC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7fdc;
/* rgb */ color: rgb(187, 127, 220);
/* oklch */ color: oklch(69.2% 0.146 312.8);
Tailwind
colors: {
  custom: {
    50: '#d1a5e7',
    500: '#bb7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fdc;
$custom-light: #d1a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fdc",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 278.71,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.14565,
    "h": 312.8
  },
  "luminance": 0.30911
}

Semantic roles & 50–950 ramp

primary
#BB7FDC
secondary
#D7EACD
accent
#C5215B
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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