#BB8FF2#BB8FF2

#BB8FF2 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.0% C 0.146 H 303.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BB8FF2
RGBrgb(187, 143, 242)
HSLhsl(267, 79%, 75%)
HSVhsv(267, 41%, 95%)
CMYKcmyk(22.7%, 40.9%, 0%, 5.1%)
CIE-LABlab(66.99, 35.81, -43.64)
CIE-LCHlch(66.99, 56.45, 309.37°)
OKLaboklab(72.99% 0.0804 -0.1215)
OKLCHoklch(72.99% 0.146 303.5)
XYZxyz(46.3396, 36.6206, 88.6144)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FF2 #C6F28F
analogous
#8F94F2 #BB8FF2 #ED8FF2
triadic
#BB8FF2 #F2BB8F #8FF2BB
tetradic
#BB8FF2 #F28F94 #C6F28F #8FF2ED
square
#BB8FF2 #F28F94 #C6F28F #8FF2ED
split-complementary
#BB8FF2 #F2ED8F #94F28F
monochromatic
#7821E5 #9A58EC #BB8FF2 #DCC6F8 #EEE4FC

Accessibility & contrast

On white

2.52
#BB8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BB8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FF2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FF2#FFFFFF#000000##000000
##BB8FF21.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#B29FB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ff2;
/* rgb */ color: rgb(187, 143, 242);
/* oklch */ color: oklch(73.0% 0.146 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1b0f7',
    500: '#bb8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ff2;
$custom-light: #d1b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ff2",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 266.667,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.14572,
    "h": 303.5
  },
  "luminance": 0.36621
}

Semantic roles & 50–950 ramp

primary
#BB8FF2
secondary
#E7F4D7
accent
#DB0A7E
background
#FDFAFF
surface
#FAF5FE
border
#D3CFD6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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