#D135C8#D135C8

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

Color values

HEX#D135C8
RGBrgb(209, 53, 200)
HSLhsl(303, 63%, 51%)
HSVhsv(303, 75%, 82%)
CMYKcmyk(0%, 74.6%, 4.3%, 18%)
CIE-LABlab(52.15, 74.58, -43.26)
CIE-LCHlch(52.15, 86.22, 329.88°)
OKLaboklab(61.97% 0.2121 -0.1194)
OKLCHoklch(61.97% 0.243 330.6)
XYZxyz(37.9928, 20.2747, 56.5448)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D135C8 #35D13E
analogous
#8C35D1 #D135C8 #D1357A
triadic
#D135C8 #C8D135 #35C8D1
tetradic
#D135C8 #D18C35 #35D13E #357AD1
square
#D135C8 #D18C35 #35D13E #357AD1
split-complementary
#D135C8 #7AD135 #35D18C
monochromatic
#721A6D #A4259C #D135C8 #DC67D6 #E899E3

Accessibility & contrast

On white

4.15
#D135C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D135C8#FFFFFF#000000##000000
##D135C81.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#D94A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d135c8;
/* rgb */ color: rgb(209, 53, 200);
/* oklch */ color: oklch(62.0% 0.243 330.6);
Tailwind
colors: {
  custom: {
    50: '#e37dd9',
    500: '#d135c8',
    950: '#000000',
  },
}
SCSS
$custom: #d135c8;
$custom-light: #e37dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d135c8",
  "rgb": {
    "r": 209,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 303.462,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.24335,
    "h": 330.6
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#D135C8
secondary
#8FD392
accent
#E64B42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #D135C8

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

Preview Lab → · Contrast checker → · Palette generator →

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