#BB7EDE#BB7EDE

#BB7EDE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.150 H 312.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#BB7EDE
RGBrgb(187, 126, 222)
HSLhsl(278, 59%, 68%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(15.8%, 43.2%, 0%, 12.9%)
CIE-LABlab(62.31, 40.69, -39.93)
CIE-LCHlch(62.31, 57.01, 315.54°)
OKLaboklab(69.16% 0.1006 -0.1107)
OKLCHoklch(69.16% 0.15 312.3)
XYZxyz(41.1369, 30.7612, 72.8635)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EDE #A1DE7E
analogous
#8B7EDE #BB7EDE #DE7ED1
triadic
#BB7EDE #DEBB7E #7EDEBB
tetradic
#BB7EDE #DE8B7E #A1DE7E #7ED1DE
square
#BB7EDE #DE8B7E #A1DE7E #7ED1DE
split-complementary
#BB7EDE #D1DE7E #7EDE8B
monochromatic
#832EB4 #A14DD2 #BB7EDE #D5AFEA #EEDFF7

Accessibility & contrast

On white

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

On black

7.15
#BB7EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EDE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EDE#FFFFFF#000000##000000
##BB7EDE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7ede;
/* rgb */ color: rgb(187, 126, 222);
/* oklch */ color: oklch(69.2% 0.150 312.3);
Tailwind
colors: {
  custom: {
    50: '#d1a4e8',
    500: '#bb7ede',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ede;
$custom-light: #d1a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ede",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 278.125,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69163,
    "c": 0.14964,
    "h": 312.3
  },
  "luminance": 0.3076
}

Semantic roles & 50–950 ramp

primary
#BB7EDE
secondary
#D8EACD
accent
#C71F5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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