#BB7EDC#BB7EDC

#BB7EDC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.147 H 312.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BB7EDC
RGBrgb(187, 126, 220)
HSLhsl(279, 57%, 68%)
HSVhsv(279, 43%, 86%)
CMYKcmyk(15%, 42.7%, 0%, 13.7%)
CIE-LABlab(62.22, 40.26, -38.95)
CIE-LCHlch(62.22, 56.02, 315.95°)
OKLaboklab(69.07% 0.1003 -0.1079)
OKLCHoklch(69.07% 0.147 312.9)
XYZxyz(40.8705, 30.6546, 71.4602)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EDC #9FDC7E
analogous
#8C7EDC #BB7EDC #DC7ECE
triadic
#BB7EDC #DCBB7E #7EDCBB
tetradic
#BB7EDC #DC8C7E #9FDC7E #7ECEDC
square
#BB7EDC #DC8C7E #9FDC7E #7ECEDC
split-complementary
#BB7EDC #CEDC7E #7EDC8C
monochromatic
#8330B0 #A24ECF #BB7EDC #D4AEE9 #EEDEF6

Accessibility & contrast

On white

2.94
#BB7EDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BB7EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EDC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EDC#FFFFFF#000000##000000
##BB7EDC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#B88CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7edc;
/* rgb */ color: rgb(187, 126, 220);
/* oklch */ color: oklch(69.1% 0.147 312.9);
Tailwind
colors: {
  custom: {
    50: '#d1a4e7',
    500: '#bb7edc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7edc;
$custom-light: #d1a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7edc",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 278.936,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.14734,
    "h": 312.9
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#BB7EDC
secondary
#D7E9CC
accent
#C5215A
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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