#BB8AF2#BB8AF2

#BB8AF2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.1% C 0.154 H 304.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BB8AF2
RGBrgb(187, 138, 242)
HSLhsl(268, 80%, 75%)
HSVhsv(268, 43%, 95%)
CMYKcmyk(22.7%, 43%, 0%, 5.1%)
CIE-LABlab(65.87, 38.56, -45.41)
CIE-LCHlch(65.87, 59.57, 310.34°)
OKLaboklab(72.14% 0.0872 -0.1266)
OKLCHoklch(72.14% 0.154 304.6)
XYZxyz(45.6057, 35.1527, 88.3698)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AF2 #C1F28A
analogous
#8A8DF2 #BB8AF2 #EF8AF2
triadic
#BB8AF2 #F2BB8A #8AF2BB
tetradic
#BB8AF2 #F28A8D #C1F28A #8AF2EF
square
#BB8AF2 #F28A8D #C1F28A #8AF2EF
split-complementary
#BB8AF2 #F2EF8A #8DF28A
monochromatic
#7B1CE6 #9B53EC #BB8AF2 #DBC1F8 #EFE3FC

Accessibility & contrast

On white

2.61
#BB8AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BB8AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AF2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AF2#FFFFFF#000000##000000
##BB8AF21.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#B29BB2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8af2;
/* rgb */ color: rgb(187, 138, 242);
/* oklch */ color: oklch(72.1% 0.154 304.6);
Tailwind
colors: {
  custom: {
    50: '#d1adf7',
    500: '#bb8af2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8af2;
$custom-light: #d1adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8af2",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 268.269,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72139,
    "c": 0.15378,
    "h": 304.6
  },
  "luminance": 0.35153
}

Semantic roles & 50–950 ramp

primary
#BB8AF2
secondary
#E6F4D7
accent
#DC0979
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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