#D175EF#D175EF

#D175EF is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.192 H 317.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D175EF
RGBrgb(209, 117, 239)
HSLhsl(285, 79%, 70%)
HSVhsv(285, 51%, 94%)
CMYKcmyk(12.6%, 51%, 0%, 6.3%)
CIE-LABlab(63.76, 55.01, -46.91)
CIE-LCHlch(63.76, 72.29, 319.55°)
OKLaboklab(71.06% 0.1413 -0.1304)
OKLCHoklch(71.06% 0.192 317.3)
XYZxyz(48.2335, 32.5115, 85.3792)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175EF #93EF75
analogous
#9475EF #D175EF #EF75D0
triadic
#D175EF #EFD175 #75EFD1
tetradic
#D175EF #EF9475 #93EF75 #75D0EF
square
#D175EF #EF9475 #93EF75 #75D0EF
split-complementary
#D175EF #D0EF75 #75EF94
monochromatic
#A418D1 #BF3EE9 #D175EF #E3ACF5 #F6E3FC

Accessibility & contrast

On white

2.80
#D175EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D175EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175EF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175EF#FFFFFF#000000##000000
##D175EF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#D087A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d175ef;
/* rgb */ color: rgb(209, 117, 239);
/* oklch */ color: oklch(71.1% 0.192 317.3);
Tailwind
colors: {
  custom: {
    50: '#e1a0f5',
    500: '#d175ef',
    950: '#000000',
  },
}
SCSS
$custom: #d175ef;
$custom-light: #e1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d175ef",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 285.246,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71058,
    "c": 0.19223,
    "h": 317.3
  },
  "luminance": 0.3251
}

Semantic roles & 50–950 ramp

primary
#D175EF
secondary
#D7F1CF
accent
#DC0A3E
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175EF

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

Preview Lab → · Contrast checker → · Palette generator →

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