#D175EC#D175EC

#D175EC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.189 H 318.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D175EC
RGBrgb(209, 117, 236)
HSLhsl(286, 76%, 69%)
HSVhsv(286, 50%, 93%)
CMYKcmyk(11.4%, 50.4%, 0%, 7.5%)
CIE-LABlab(63.62, 54.41, -45.47)
CIE-LCHlch(63.62, 70.91, 320.12°)
OKLaboklab(70.9% 0.1409 -0.1262)
OKLCHoklch(70.9% 0.189 318.1)
XYZxyz(47.7940, 32.3357, 83.0644)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175EC #90EC75
analogous
#9675EC #D175EC #EC75CB
triadic
#D175EC #ECD175 #75ECD1
tetradic
#D175EC #EC9675 #90EC75 #75CBEC
square
#D175EC #EC9675 #90EC75 #75CBEC
split-complementary
#D175EC #CBEC75 #75EC96
monochromatic
#A31CCB #BF3FE5 #D175EC #E3ABF3 #F5E1FB

Accessibility & contrast

On white

2.81
#D175EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D175EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175EC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175EC#FFFFFF#000000##000000
##D175EC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#D186A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d175ec;
/* rgb */ color: rgb(209, 117, 236);
/* oklch */ color: oklch(70.9% 0.189 318.1);
Tailwind
colors: {
  custom: {
    50: '#e1a0f2',
    500: '#d175ec',
    950: '#000000',
  },
}
SCSS
$custom: #d175ec;
$custom-light: #e1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d175ec",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 286.387,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70904,
    "c": 0.1892,
    "h": 318.1
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#D175EC
secondary
#D5F0CD
accent
#D80E3B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175EC

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

Preview Lab → · Contrast checker → · Palette generator →

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