#BD42E8#BD42E8

#BD42E8 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.2% C 0.247 H 315.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BD42E8
RGBrgb(189, 66, 232)
HSLhsl(284, 78%, 58%)
HSVhsv(284, 72%, 91%)
CMYKcmyk(18.5%, 71.6%, 0%, 9%)
CIE-LABlab(52.45, 71.69, -61.19)
CIE-LCHlch(52.45, 94.25, 319.52°)
OKLaboklab(62.18% 0.1767 -0.1723)
OKLCHoklch(62.18% 0.247 315.7)
XYZxyz(37.4977, 20.5429, 78.3182)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42E8 #6DE842
analogous
#6A42E8 #BD42E8 #E842C0
triadic
#BD42E8 #E8BD42 #42E8BD
tetradic
#BD42E8 #E86A42 #6DE842 #42C0E8
square
#BD42E8 #E86A42 #6DE842 #42C0E8
split-complementary
#BD42E8 #C0E842 #42E86A
monochromatic
#79139D #A31AD3 #BD42E8 #D079EF #E3AFF5

Accessibility & contrast

On white

4.11
#BD42E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BD42E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42E8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42E8#FFFFFF#000000##000000
##BD42E81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#3F80E4
Tritanopia (blue-blind)
#BA6592
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bd42e8;
/* rgb */ color: rgb(189, 66, 232);
/* oklch */ color: oklch(62.2% 0.247 315.7);
Tailwind
colors: {
  custom: {
    50: '#d581f0',
    500: '#bd42e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd42e8;
$custom-light: #d581f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42e8",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 232
  },
  "hsl": {
    "h": 284.458,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62175,
    "c": 0.24684,
    "h": 315.7
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#BD42E8
secondary
#B3E4A2
accent
#F53365
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BD42E8

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

Preview Lab → · Contrast checker → · Palette generator →

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