#BB7DF3#BB7DF3

#BB7DF3 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.1% C 0.176 H 306.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB7DF3
RGBrgb(187, 125, 243)
HSLhsl(272, 83%, 72%)
HSVhsv(272, 49%, 95%)
CMYKcmyk(23%, 48.6%, 0%, 4.7%)
CIE-LABlab(63.10, 45.86, -50.33)
CIE-LCHlch(63.10, 68.09, 312.34°)
OKLaboklab(70.08% 0.1049 -0.1409)
OKLCHoklch(70.08% 0.176 306.7)
XYZxyz(44.0015, 31.7035, 88.5780)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DF3 #B5F37D
analogous
#807DF3 #BB7DF3 #F37DF0
triadic
#BB7DF3 #F3BB7D #7DF3BB
tetradic
#BB7DF3 #F3807D #B5F37D #7DF0F3
square
#BB7DF3 #F3807D #B5F37D #7DF0F3
split-complementary
#BB7DF3 #F0F37D #7DF380
monochromatic
#8015E1 #9E45EE #BB7DF3 #D8B5F8 #F0E3FC

Accessibility & contrast

On white

2.86
#BB7DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DF3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DF3#FFFFFF#000000##000000
##BB7DF31.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F7
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#B291AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7df3;
/* rgb */ color: rgb(187, 125, 243);
/* oklch */ color: oklch(70.1% 0.176 306.7);
Tailwind
colors: {
  custom: {
    50: '#d2a4f7',
    500: '#bb7df3',
    950: '#000000',
  },
}
SCSS
$custom: #bb7df3;
$custom-light: #d2a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7df3",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 271.525,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.17569,
    "h": 306.7
  },
  "luminance": 0.31703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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