#BB57FC#BB57FC

#BB57FC is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.4% C 0.240 H 309.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB57FC
RGBrgb(187, 87, 252)
HSLhsl(276, 96%, 66%)
HSVhsv(276, 65%, 99%)
CMYKcmyk(25.8%, 65.5%, 0%, 1.2%)
CIE-LABlab(56.50, 66.74, -65.85)
CIE-LCHlch(56.50, 93.76, 315.39°)
OKLaboklab(65.42% 0.1512 -0.1862)
OKLCHoklch(65.42% 0.24 309.1)
XYZxyz(41.4689, 24.4102, 94.6037)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57FC #98FC57
analogous
#6957FC #BB57FC #FC57EA
triadic
#BB57FC #FCBB57 #57FCBB
tetradic
#BB57FC #FC6957 #98FC57 #57EAFC
square
#BB57FC #FC6957 #98FC57 #57EAFC
split-complementary
#BB57FC #EAFC57 #57FC69
monochromatic
#8204D5 #A31BFB #BB57FC #D393FD #ECCFFE

Accessibility & contrast

On white

3.57
#BB57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BB57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57FC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57FC#FFFFFF#000000##000000
##BB57FC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#B27AA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb57fc;
/* rgb */ color: rgb(187, 87, 252);
/* oklch */ color: oklch(65.4% 0.240 309.1);
Tailwind
colors: {
  custom: {
    50: '#d48dfe',
    500: '#bb57fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb57fc;
$custom-light: #d48dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57fc",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 276.364,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.23986,
    "h": 309.1
  },
  "luminance": 0.24409
}

Semantic roles & 50–950 ramp

primary
#BB57FC
secondary
#D2F2BD
accent
#E6005A
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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