#BB42EA#BB42EA

#BB42EA is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.0% C 0.248 H 314.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB42EA
RGBrgb(187, 66, 234)
HSLhsl(283, 80%, 59%)
HSVhsv(283, 72%, 92%)
CMYKcmyk(20.1%, 71.8%, 0%, 8.2%)
CIE-LABlab(52.29, 71.68, -62.58)
CIE-LCHlch(52.29, 95.16, 318.88°)
OKLaboklab(62.05% 0.1741 -0.1765)
OKLCHoklch(62.05% 0.248 314.6)
XYZxyz(37.2905, 20.4030, 79.7998)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42EA #71EA42
analogous
#6742EA #BB42EA #EA42C5
triadic
#BB42EA #EABB42 #42EABB
tetradic
#BB42EA #EA6742 #71EA42 #42C5EA
square
#BB42EA #EA6742 #71EA42 #42C5EA
split-complementary
#BB42EA #C5EA42 #42EA67
monochromatic
#7812A0 #A118D7 #BB42EA #CF79F0 #E3B0F6

Accessibility & contrast

On white

4.13
#BB42EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BB42EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42EA#FFFFFF#000000##000000
##BB42EA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#3A80E6
Tritanopia (blue-blind)
#B76693
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb42ea;
/* rgb */ color: rgb(187, 66, 234);
/* oklch */ color: oklch(62.0% 0.248 314.6);
Tailwind
colors: {
  custom: {
    50: '#d481f2',
    500: '#bb42ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ea;
$custom-light: #d481f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ea",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 283.214,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62047,
    "c": 0.2479,
    "h": 314.6
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#BB42EA
secondary
#B5E5A3
accent
#F63168
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BB42EA

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

Preview Lab → · Contrast checker → · Palette generator →

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