#BB8DF2#BB8DF2

#BB8DF2 is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.149 H 303.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BB8DF2
RGBrgb(187, 141, 242)
HSLhsl(267, 80%, 75%)
HSVhsv(267, 42%, 95%)
CMYKcmyk(22.7%, 41.7%, 0%, 5.1%)
CIE-LABlab(66.54, 36.91, -44.35)
CIE-LCHlch(66.54, 57.70, 309.77°)
OKLaboklab(72.65% 0.0831 -0.1236)
OKLCHoklch(72.65% 0.149 303.9)
XYZxyz(46.0420, 36.0255, 88.5152)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DF2 #C4F28D
analogous
#8D91F2 #BB8DF2 #EE8DF2
triadic
#BB8DF2 #F2BB8D #8DF2BB
tetradic
#BB8DF2 #F28D91 #C4F28D #8DF2EE
square
#BB8DF2 #F28D91 #C4F28D #8DF2EE
split-complementary
#BB8DF2 #F2EE8D #91F28D
monochromatic
#791FE5 #9A56EC #BB8DF2 #DCC4F8 #EFE4FC

Accessibility & contrast

On white

2.56
#BB8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BB8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DF2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DF2#FFFFFF#000000##000000
##BB8DF21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#B29EB4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8df2;
/* rgb */ color: rgb(187, 141, 242);
/* oklch */ color: oklch(72.6% 0.149 303.9);
Tailwind
colors: {
  custom: {
    50: '#d1aff7',
    500: '#bb8df2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8df2;
$custom-light: #d1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8df2",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 267.327,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.14894,
    "h": 303.9
  },
  "luminance": 0.36025
}

Semantic roles & 50–950 ramp

primary
#BB8DF2
secondary
#E7F4D7
accent
#DC0A7C
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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