#BB7FDE#BB7FDE

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

Color values

HEX#BB7FDE
RGBrgb(187, 127, 222)
HSLhsl(278, 59%, 68%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(15.8%, 42.8%, 0%, 12.9%)
CIE-LABlab(62.52, 40.14, -39.59)
CIE-LCHlch(62.52, 56.38, 315.40°)
OKLaboklab(69.33% 0.0992 -0.1098)
OKLCHoklch(69.33% 0.148 312.1)
XYZxyz(41.2654, 31.0182, 72.9064)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FDE #A2DE7F
analogous
#8B7FDE #BB7FDE #DE7FD1
triadic
#BB7FDE #DEBB7F #7FDEBB
tetradic
#BB7FDE #DE8B7F #A2DE7F #7FD1DE
square
#BB7FDE #DE8B7F #A2DE7F #7FD1DE
split-complementary
#BB7FDE #D1DE7F #7FDE8B
monochromatic
#832EB4 #A14ED1 #BB7FDE #D5B0EB #EFE0F7

Accessibility & contrast

On white

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

On black

7.20
#BB7FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FDE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FDE#FFFFFF#000000##000000
##BB7FDE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7fde;
/* rgb */ color: rgb(187, 127, 222);
/* oklch */ color: oklch(69.3% 0.148 312.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5e8',
    500: '#bb7fde',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fde;
$custom-light: #d1a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fde",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 277.895,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.14797,
    "h": 312.1
  },
  "luminance": 0.31017
}

Semantic roles & 50–950 ramp

primary
#BB7FDE
secondary
#D9EBCE
accent
#C71F5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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