#BB57EF#BB57EF

#BB57EF is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.6% C 0.227 H 312.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BB57EF
RGBrgb(187, 87, 239)
HSLhsl(279, 83%, 64%)
HSVhsv(279, 64%, 94%)
CMYKcmyk(21.8%, 63.6%, 0%, 6.3%)
CIE-LABlab(55.70, 64.01, -59.90)
CIE-LCHlch(55.70, 87.67, 316.90°)
OKLaboklab(64.59% 0.152 -0.1687)
OKLCHoklch(64.59% 0.227 312)
XYZxyz(39.4789, 23.6142, 84.1229)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57EF #8BEF57
analogous
#6F57EF #BB57EF #EF57D7
triadic
#BB57EF #EFBB57 #57EFBB
tetradic
#BB57EF #EF6F57 #8BEF57 #57D7EF
square
#BB57EF #EF6F57 #8BEF57 #57D7EF
split-complementary
#BB57EF #D7EF57 #57EF6F
monochromatic
#8012BA #A41FEA #BB57EF #D28FF4 #E8C7FA

Accessibility & contrast

On white

3.67
#BB57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BB57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57EF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57EF#FFFFFF#000000##000000
##BB57EF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#B5759C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb57ef;
/* rgb */ color: rgb(187, 87, 239);
/* oklch */ color: oklch(64.6% 0.227 312.0);
Tailwind
colors: {
  custom: {
    50: '#d38cf5',
    500: '#bb57ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ef;
$custom-light: #d38cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ef",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 279.474,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64587,
    "c": 0.22711,
    "h": 312
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#BB57EF
secondary
#C8ECB6
accent
#DF0651
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150D17
muted
#837D85

Preview Lab

Preview with #BB57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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