#BD42EB#BD42EB

#BD42EB is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.4% C 0.249 H 315.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BD42EB
RGBrgb(189, 66, 235)
HSLhsl(284, 81%, 59%)
HSVhsv(284, 72%, 92%)
CMYKcmyk(19.6%, 71.9%, 0%, 7.8%)
CIE-LABlab(52.64, 72.26, -62.57)
CIE-LCHlch(52.64, 95.59, 319.11°)
OKLaboklab(62.37% 0.1764 -0.1764)
OKLCHoklch(62.37% 0.249 315)
XYZxyz(37.9274, 20.7148, 80.5816)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42EB #70EB42
analogous
#6942EB #BD42EB #EB42C4
triadic
#BD42EB #EBBD42 #42EBBD
tetradic
#BD42EB #EB6942 #70EB42 #42C4EB
square
#BD42EB #EB6942 #70EB42 #42C4EB
split-complementary
#BD42EB #C4EB42 #42EB69
monochromatic
#7A11A2 #A417D9 #BD42EB #D079F1 #E4B1F7

Accessibility & contrast

On white

4.08
#BD42EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BD42EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42EB#FFFFFF#000000##000000
##BD42EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#B96693
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd42eb;
/* rgb */ color: rgb(189, 66, 235);
/* oklch */ color: oklch(62.4% 0.249 315.0);
Tailwind
colors: {
  custom: {
    50: '#d581f2',
    500: '#bd42eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd42eb;
$custom-light: #d581f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42eb",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 235
  },
  "hsl": {
    "h": 283.669,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.24945,
    "h": 315
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#BD42EB
secondary
#B5E6A3
accent
#F73167
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BD42EB

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

Preview Lab → · Contrast checker → · Palette generator →

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