#D175EA#D175EA

#D175EA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.187 H 318.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D175EA
RGBrgb(209, 117, 234)
HSLhsl(287, 74%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(10.7%, 50%, 0%, 8.2%)
CIE-LABlab(63.52, 54.02, -44.51)
CIE-LCHlch(63.52, 70.00, 320.51°)
OKLaboklab(70.8% 0.1407 -0.1234)
OKLCHoklch(70.8% 0.187 318.7)
XYZxyz(47.5051, 32.2201, 81.5427)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175EA #8EEA75
analogous
#9775EA #D175EA #EA75C9
triadic
#D175EA #EAD175 #75EAD1
tetradic
#D175EA #EA9775 #8EEA75 #75C9EA
square
#D175EA #EA9775 #8EEA75 #75C9EA
split-complementary
#D175EA #C9EA75 #75EA97
monochromatic
#A21EC6 #BF40E2 #D175EA #E3AAF2 #F4DFFA

Accessibility & contrast

On white

2.82
#D175EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D175EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175EA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175EA#FFFFFF#000000##000000
##D175EA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#D186A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d175ea;
/* rgb */ color: rgb(209, 117, 234);
/* oklch */ color: oklch(70.8% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#e1a0f1',
    500: '#d175ea',
    950: '#000000',
  },
}
SCSS
$custom: #d175ea;
$custom-light: #e1a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d175ea",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 287.179,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.18718,
    "h": 318.7
  },
  "luminance": 0.32218
}

Semantic roles & 50–950 ramp

primary
#D175EA
secondary
#D3EFCC
accent
#D6103A
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175EA

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

Preview Lab → · Contrast checker → · Palette generator →

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