#BB8CFD#BB8CFD

#BB8CFD is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.0% C 0.164 H 301.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BB8CFD
RGBrgb(187, 140, 253)
HSLhsl(265, 97%, 77%)
HSVhsv(265, 45%, 99%)
CMYKcmyk(26.1%, 44.7%, 0%, 0.8%)
CIE-LABlab(66.83, 40.01, -49.91)
CIE-LCHlch(66.83, 63.97, 308.72°)
OKLaboklab(73.04% 0.0862 -0.1397)
OKLCHoklch(73.04% 0.164 301.7)
XYZxyz(47.5973, 36.4127, 97.4303)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CFD #CEFD8C
analogous
#8C96FD #BB8CFD #F48CFD
triadic
#BB8CFD #FDBB8C #8CFDBB
tetradic
#BB8CFD #FD8C96 #CEFD8C #8CFDF4
square
#BB8CFD #FD8C96 #CEFD8C #8CFDF4
split-complementary
#BB8CFD #FDF48C #96FD8C
monochromatic
#7414FB #9750FC #BB8CFD #DFC8FE #EDE1FE

Accessibility & contrast

On white

2.54
#BB8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BB8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CFD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CFD#FFFFFF#000000##000000
##BB8CFD1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#AFA0B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8cfd;
/* rgb */ color: rgb(187, 140, 253);
/* oklch */ color: oklch(73.0% 0.164 301.7);
Tailwind
colors: {
  custom: {
    50: '#d2aefe',
    500: '#bb8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cfd;
$custom-light: #d2aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cfd",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 264.956,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73036,
    "c": 0.16417,
    "h": 301.7
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

primary
#BB8CFD
secondary
#E8F7D4
accent
#E60086
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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