#BB7CFE#BB7CFE

#BB7CFE is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.5% C 0.190 H 304.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BB7CFE
RGBrgb(187, 124, 254)
HSLhsl(269, 98%, 74%)
HSVhsv(269, 51%, 100%)
CMYKcmyk(26.4%, 51.2%, 0%, 0.4%)
CIE-LABlab(63.46, 48.91, -55.81)
CIE-LCHlch(63.46, 74.21, 311.23°)
OKLaboklab(70.53% 0.1072 -0.1569)
OKLCHoklch(70.53% 0.19 304.4)
XYZxyz(45.5867, 32.1360, 97.5480)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CFE #BFFE7C
analogous
#7C7EFE #BB7CFE #FC7CFE
triadic
#BB7CFE #FEBB7C #7CFEBB
tetradic
#BB7CFE #FE7C7E #BFFE7C #7CFEFC
square
#BB7CFE #FE7C7E #BFFE7C #7CFEFC
split-complementary
#BB7CFE #FEFC7C #7EFE7C
monochromatic
#7C03FD #9B3FFE #BB7CFE #DBB9FE #EFE1FF

Accessibility & contrast

On white

2.83
#BB7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BB7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CFE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CFE#FFFFFF#000000##000000
##BB7CFE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#AF94B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7cfe;
/* rgb */ color: rgb(187, 124, 254);
/* oklch */ color: oklch(70.5% 0.190 304.4);
Tailwind
colors: {
  custom: {
    50: '#d2a3ff',
    500: '#bb7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cfe;
$custom-light: #d2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cfe",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 269.077,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.19006,
    "h": 304.4
  },
  "luminance": 0.32136
}

Semantic roles & 50–950 ramp

primary
#BB7CFE
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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