#BB7DE2#BB7DE2

#BB7DE2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.156 H 311.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#BB7DE2
RGBrgb(187, 125, 226)
HSLhsl(277, 64%, 69%)
HSVhsv(277, 45%, 89%)
CMYKcmyk(17.3%, 44.7%, 0%, 11.4%)
CIE-LABlab(62.27, 42.09, -42.21)
CIE-LCHlch(62.27, 59.61, 314.92°)
OKLaboklab(69.2% 0.1027 -0.1173)
OKLCHoklch(69.2% 0.156 311.2)
XYZxyz(41.5522, 30.7238, 75.6781)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DE2 #A4E27D
analogous
#897DE2 #BB7DE2 #E27DD7
triadic
#BB7DE2 #E2BB7D #7DE2BB
tetradic
#BB7DE2 #E2897D #A4E27D #7DD7E2
square
#BB7DE2 #E2897D #A4E27D #7DD7E2
split-complementary
#BB7DE2 #D7E27D #7DE289
monochromatic
#832ABB #A14BD7 #BB7DE2 #D5AFED #EFE1F8

Accessibility & contrast

On white

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

On black

7.14
#BB7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DE2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DE2#FFFFFF#000000##000000
##BB7DE21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#B78CA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7de2;
/* rgb */ color: rgb(187, 125, 226);
/* oklch */ color: oklch(69.2% 0.156 311.2);
Tailwind
colors: {
  custom: {
    50: '#d1a4eb',
    500: '#bb7de2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7de2;
$custom-light: #d1a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7de2",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 276.832,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.15592,
    "h": 311.2
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

primary
#BB7DE2
secondary
#DAECCE
accent
#CB1A5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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