#BB7CDF#BB7CDF

#BB7CDF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.154 H 312.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BB7CDF
RGBrgb(187, 124, 223)
HSLhsl(278, 61%, 68%)
HSVhsv(278, 44%, 87%)
CMYKcmyk(16.1%, 44.4%, 0%, 12.5%)
CIE-LABlab(61.92, 41.99, -41.09)
CIE-LCHlch(61.92, 58.75, 315.62°)
OKLaboklab(68.89% 0.1036 -0.1141)
OKLCHoklch(68.89% 0.154 312.2)
XYZxyz(41.0182, 30.3086, 73.4871)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CDF #A0DF7C
analogous
#897CDF #BB7CDF #DF7CD1
triadic
#BB7CDF #DFBB7C #7CDFBB
tetradic
#BB7CDF #DF897C #A0DF7C #7CD1DF
square
#BB7CDF #DF897C #A0DF7C #7CD1DF
split-complementary
#BB7CDF #D1DF7C #7CDF89
monochromatic
#832CB5 #A14BD3 #BB7CDF #D5ADEB #EEDEF7

Accessibility & contrast

On white

2.97
#BB7CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BB7CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CDF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CDF#FFFFFF#000000##000000
##BB7CDF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#B88BA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7cdf;
/* rgb */ color: rgb(187, 124, 223);
/* oklch */ color: oklch(68.9% 0.154 312.2);
Tailwind
colors: {
  custom: {
    50: '#d1a3e9',
    500: '#bb7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cdf;
$custom-light: #d1a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cdf",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 278.182,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.15413,
    "h": 312.2
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#BB7CDF
secondary
#D7EBCC
accent
#C81D5B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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