#BB57FA#BB57FA

#BB57FA is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.3% C 0.238 H 309.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BB57FA
RGBrgb(187, 87, 250)
HSLhsl(277, 94%, 66%)
HSVhsv(277, 65%, 98%)
CMYKcmyk(25.2%, 65.2%, 0%, 2%)
CIE-LABlab(56.37, 66.32, -64.94)
CIE-LCHlch(56.37, 92.82, 315.60°)
OKLaboklab(65.29% 0.1514 -0.1835)
OKLCHoklch(65.29% 0.238 309.5)
XYZxyz(41.1536, 24.2841, 92.9433)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57FA #96FA57
analogous
#6957FA #BB57FA #FA57E7
triadic
#BB57FA #FABB57 #57FABB
tetradic
#BB57FA #FA6957 #96FA57 #57E7FA
square
#BB57FA #FA6957 #96FA57 #57E7FA
split-complementary
#BB57FA #E7FA57 #57FA69
monochromatic
#8206D0 #A31CF8 #BB57FA #D392FC #EBCEFE

Accessibility & contrast

On white

3.59
#BB57FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#BB57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57FA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57FA#FFFFFF#000000##000000
##BB57FA1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb57fa;
/* rgb */ color: rgb(187, 87, 250);
/* oklch */ color: oklch(65.3% 0.238 309.5);
Tailwind
colors: {
  custom: {
    50: '#d48dfd',
    500: '#bb57fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb57fa;
$custom-light: #d48dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57fa",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 276.81,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65285,
    "c": 0.23789,
    "h": 309.5
  },
  "luminance": 0.24283
}

Semantic roles & 50–950 ramp

primary
#BB57FA
secondary
#D0F1BC
accent
#E60059
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #BB57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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