#BD42E3#BD42E3

#BD42E3 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.242 H 317.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BD42E3
RGBrgb(189, 66, 227)
HSLhsl(286, 74%, 57%)
HSVhsv(286, 71%, 89%)
CMYKcmyk(16.7%, 70.9%, 0%, 11%)
CIE-LABlab(52.13, 70.74, -58.87)
CIE-LCHlch(52.13, 92.03, 320.23°)
OKLaboklab(61.85% 0.1772 -0.1655)
OKLCHoklch(61.85% 0.243 317)
XYZxyz(36.7975, 20.2628, 74.6309)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD42E3 #68E342
analogous
#6D42E3 #BD42E3 #E342B8
triadic
#BD42E3 #E3BD42 #42E3BD
tetradic
#BD42E3 #E36D42 #68E342 #42B8E3
square
#BD42E3 #E36D42 #68E342 #42B8E3
split-complementary
#BD42E3 #B8E342 #42E36D
monochromatic
#771695 #A11ECA #BD42E3 #D077EB #E2ADF3

Accessibility & contrast

On white

4.16
#BD42E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BD42E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD42E3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD42E3#FFFFFF#000000##000000
##BD42E31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#BB638F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd42e3;
/* rgb */ color: rgb(189, 66, 227);
/* oklch */ color: oklch(61.9% 0.242 317.0);
Tailwind
colors: {
  custom: {
    50: '#d581ed',
    500: '#bd42e3',
    950: '#000000',
  },
}
SCSS
$custom: #bd42e3;
$custom-light: #d581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd42e3",
  "rgb": {
    "r": 189,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 285.839,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.2425,
    "h": 317
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#BD42E3
secondary
#AFE1A0
accent
#F13763
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD42E3

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

Preview Lab → · Contrast checker → · Palette generator →

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