#D534E2#D534E2

#D534E2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 64.0% C 0.265 H 324.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D534E2
RGBrgb(213, 52, 226)
HSLhsl(296, 75%, 55%)
HSVhsv(296, 77%, 89%)
CMYKcmyk(5.8%, 77%, 0%, 11.4%)
CIE-LABlab(54.13, 79.75, -54.91)
CIE-LCHlch(54.13, 96.82, 325.45°)
OKLaboklab(63.97% 0.2162 -0.1531)
OKLCHoklch(63.97% 0.265 324.7)
XYZxyz(42.3949, 22.0959, 73.9687)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D534E2 #41E234
analogous
#7E34E2 #D534E2 #E23498
triadic
#D534E2 #E2D534 #34E2D5
tetradic
#D534E2 #E27E34 #41E234 #3498E2
square
#D534E2 #E27E34 #41E234 #3498E2
split-complementary
#D534E2 #98E234 #34E27E
monochromatic
#7F1388 #B21BBE #D534E2 #E06AEA #EB9FF1

Accessibility & contrast

On white

3.88
#D534E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D534E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D534E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D534E2#FFFFFF#000000##000000
##D534E21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#D9568B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d534e2;
/* rgb */ color: rgb(213, 52, 226);
/* oklch */ color: oklch(64.0% 0.265 324.7);
Tailwind
colors: {
  custom: {
    50: '#e67eec',
    500: '#d534e2',
    950: '#000000',
  },
}
SCSS
$custom: #d534e2;
$custom-light: #e67eec;
$custom-dark: #000000;
JSON
{
  "hex": "#d534e2",
  "rgb": {
    "r": 213,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 295.517,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.26495,
    "h": 324.7
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

primary
#D534E2
secondary
#9ADE94
accent
#F23644
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D534E2

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

Preview Lab → · Contrast checker → · Palette generator →

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