#BB57FF#BB57FF

#BB57FF is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.6% C 0.243 H 308.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BB57FF
RGBrgb(187, 87, 255)
HSLhsl(276, 100%, 67%)
HSVhsv(276, 66%, 100%)
CMYKcmyk(26.7%, 65.9%, 0%, 0%)
CIE-LABlab(56.69, 67.38, -67.21)
CIE-LCHlch(56.69, 95.17, 315.07°)
OKLaboklab(65.61% 0.151 -0.1902)
OKLCHoklch(65.61% 0.243 308.4)
XYZxyz(41.9480, 24.6019, 97.1272)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57FF #9BFF57
analogous
#6757FF #BB57FF #FF57EF
triadic
#BB57FF #FFBB57 #57FFBB
tetradic
#BB57FF #FF6757 #9BFF57 #57EFFF
square
#BB57FF #FF6757 #9BFF57 #57EFFF
split-complementary
#BB57FF #EFFF57 #57FF67
monochromatic
#8300DC #A21AFF #BB57FF #D494FF #EDD1FF

Accessibility & contrast

On white

3.55
#BB57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BB57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57FF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57FF#FFFFFF#000000##000000
##BB57FF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#B17BA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb57ff;
/* rgb */ color: rgb(187, 87, 255);
/* oklch */ color: oklch(65.6% 0.243 308.4);
Tailwind
colors: {
  custom: {
    50: '#d48dff',
    500: '#bb57ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ff;
$custom-light: #d48dff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ff",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 275.714,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65611,
    "c": 0.2428,
    "h": 308.4
  },
  "luminance": 0.24601
}

Semantic roles & 50–950 ramp

primary
#BB57FF
secondary
#D4F4BE
accent
#E6005D
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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