#BB7DF2#BB7DF2

#BB7DF2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.0% C 0.175 H 306.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BB7DF2
RGBrgb(187, 125, 242)
HSLhsl(272, 82%, 72%)
HSVhsv(272, 48%, 95%)
CMYKcmyk(22.7%, 48.3%, 0%, 5.1%)
CIE-LABlab(63.05, 45.63, -49.86)
CIE-LCHlch(63.05, 67.59, 312.47°)
OKLaboklab(70.03% 0.1048 -0.1395)
OKLCHoklch(70.03% 0.175 306.9)
XYZxyz(43.8509, 31.6433, 87.7848)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DF2 #B4F27D
analogous
#817DF2 #BB7DF2 #F27DEE
triadic
#BB7DF2 #F2BB7D #7DF2BB
tetradic
#BB7DF2 #F2817D #B4F27D #7DEEF2
square
#BB7DF2 #F2817D #B4F27D #7DEEF2
split-complementary
#BB7DF2 #EEF27D #7DF281
monochromatic
#8016DE #9E45EC #BB7DF2 #D8B5F8 #F0E3FC

Accessibility & contrast

On white

2.87
#BB7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BB7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DF2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DF2#FFFFFF#000000##000000
##BB7DF21.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#B391AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7df2;
/* rgb */ color: rgb(187, 125, 242);
/* oklch */ color: oklch(70.0% 0.175 306.9);
Tailwind
colors: {
  custom: {
    50: '#d2a4f7',
    500: '#bb7df2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7df2;
$custom-light: #d2a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7df2",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 271.795,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70029,
    "c": 0.17452,
    "h": 306.9
  },
  "luminance": 0.31643
}

Semantic roles & 50–950 ramp

primary
#BB7DF2
secondary
#E5F4D7
accent
#DE076C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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