#D175EB#D175EB

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

Color values

HEX#D175EB
RGBrgb(209, 117, 235)
HSLhsl(287, 75%, 69%)
HSVhsv(287, 50%, 92%)
CMYKcmyk(11.1%, 50.2%, 0%, 7.8%)
CIE-LABlab(63.57, 54.22, -44.99)
CIE-LCHlch(63.57, 70.45, 320.31°)
OKLaboklab(70.85% 0.1408 -0.1248)
OKLCHoklch(70.85% 0.188 318.4)
XYZxyz(47.6492, 32.2778, 82.3014)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175EB #8FEB75
analogous
#9675EB #D175EB #EB75CA
triadic
#D175EB #EBD175 #75EBD1
tetradic
#D175EB #EB9675 #8FEB75 #75CAEB
square
#D175EB #EB9675 #8FEB75 #75CAEB
split-complementary
#D175EB #CAEB75 #75EB96
monochromatic
#A31DC9 #BF40E3 #D175EB #E3AAF3 #F5E0FA

Accessibility & contrast

On white

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

On black

7.46
#D175EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175EB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175EB#FFFFFF#000000##000000
##D175EB1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#D186A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d175eb;
/* rgb */ color: rgb(209, 117, 235);
/* oklch */ color: oklch(70.9% 0.188 318.4);
Tailwind
colors: {
  custom: {
    50: '#e1a0f2',
    500: '#d175eb',
    950: '#000000',
  },
}
SCSS
$custom: #d175eb;
$custom-light: #e1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d175eb",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 286.78,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70854,
    "c": 0.18819,
    "h": 318.4
  },
  "luminance": 0.32276
}

Semantic roles & 50–950 ramp

primary
#D175EB
secondary
#D4EFCD
accent
#D70F3B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175EB

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

Preview Lab → · Contrast checker → · Palette generator →

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