#BB8FE4#BB8FE4

#BB8FE4 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.3% C 0.128 H 307.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BB8FE4
RGBrgb(187, 143, 228)
HSLhsl(271, 61%, 73%)
HSVhsv(271, 37%, 89%)
CMYKcmyk(18%, 37.3%, 0%, 10.6%)
CIE-LABlab(66.38, 32.65, -36.90)
CIE-LCHlch(66.38, 49.27, 311.50°)
OKLaboklab(72.32% 0.0776 -0.1021)
OKLCHoklch(72.32% 0.128 307.2)
XYZxyz(44.3169, 35.8115, 77.9614)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FE4 #B8E48F
analogous
#908FE4 #BB8FE4 #E48FE2
triadic
#BB8FE4 #E4BB8F #8FE4BB
tetradic
#BB8FE4 #E4908F #B8E48F #8FE2E4
square
#BB8FE4 #E4908F #B8E48F #8FE2E4
split-complementary
#BB8FE4 #E2E48F #8FE490
monochromatic
#7F30C8 #9D5ED8 #BB8FE4 #D9C0F0 #F0E6F9

Accessibility & contrast

On white

2.57
#BB8FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BB8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FE4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FE4#FFFFFF#000000##000000
##BB8FE41.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E7
Deuteranopia (green-blind)
#87A2E2
Tritanopia (blue-blind)
#B59CAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8fe4;
/* rgb */ color: rgb(187, 143, 228);
/* oklch */ color: oklch(72.3% 0.128 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0b0ed',
    500: '#bb8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fe4;
$custom-light: #d0b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fe4",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 271.059,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.12825,
    "h": 307.2
  },
  "luminance": 0.35811
}

Semantic roles & 50–950 ramp

primary
#BB8FE4
secondary
#E5F0DB
accent
#C91D70
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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