#BB7CE2#BB7CE2

#BB7CE2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.158 H 311.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#BB7CE2
RGBrgb(187, 124, 226)
HSLhsl(277, 64%, 69%)
HSVhsv(277, 45%, 89%)
CMYKcmyk(17.3%, 45.1%, 0%, 11.4%)
CIE-LABlab(62.06, 42.63, -42.54)
CIE-LCHlch(62.06, 60.23, 315.06°)
OKLaboklab(69.04% 0.1041 -0.1183)
OKLCHoklch(69.04% 0.158 311.3)
XYZxyz(41.4262, 30.4718, 75.6361)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CE2 #A3E27C
analogous
#887CE2 #BB7CE2 #E27CD6
triadic
#BB7CE2 #E2BB7C #7CE2BB
tetradic
#BB7CE2 #E2887C #A3E27C #7CD6E2
square
#BB7CE2 #E2887C #A3E27C #7CD6E2
split-complementary
#BB7CE2 #D6E27C #7CE288
monochromatic
#8329BA #A14AD7 #BB7CE2 #D5AEED #EFE0F8

Accessibility & contrast

On white

2.96
#BB7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#BB7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CE2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CE2#FFFFFF#000000##000000
##BB7CE21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#B78CA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7ce2;
/* rgb */ color: rgb(187, 124, 226);
/* oklch */ color: oklch(69.0% 0.158 311.3);
Tailwind
colors: {
  custom: {
    50: '#d1a3eb',
    500: '#bb7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ce2;
$custom-light: #d1a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ce2",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 277.059,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69039,
    "c": 0.15757,
    "h": 311.3
  },
  "luminance": 0.30471
}

Semantic roles & 50–950 ramp

primary
#BB7CE2
secondary
#D9ECCE
accent
#CC1A5E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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