#D175F2#D175F2

#D175F2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.195 H 316.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D175F2
RGBrgb(209, 117, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 52%, 95%)
CMYKcmyk(13.6%, 51.7%, 0%, 5.1%)
CIE-LABlab(63.91, 55.61, -48.33)
CIE-LCHlch(63.91, 73.68, 319.00°)
OKLaboklab(71.21% 0.1416 -0.1345)
OKLCHoklch(71.21% 0.195 316.5)
XYZxyz(48.6804, 32.6903, 87.7327)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175F2 #96F275
analogous
#9275F2 #D175F2 #F275D4
triadic
#D175F2 #F2D175 #75F2D1
tetradic
#D175F2 #F29275 #96F275 #75D4F2
square
#D175F2 #F29275 #96F275 #75D4F2
split-complementary
#D175F2 #D4F275 #75F292
monochromatic
#A514D8 #BE3DED #D175F2 #E4ADF7 #F6E3FC

Accessibility & contrast

On white

2.79
#D175F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D175F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175F2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175F2#FFFFFF#000000##000000
##D175F21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#D088A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d175f2;
/* rgb */ color: rgb(209, 117, 242);
/* oklch */ color: oklch(71.2% 0.195 316.5);
Tailwind
colors: {
  custom: {
    50: '#e1a0f7',
    500: '#d175f2',
    950: '#000000',
  },
}
SCSS
$custom: #d175f2;
$custom-light: #e1a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d175f2",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 284.16,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.19529,
    "h": 316.5
  },
  "luminance": 0.32689
}

Semantic roles & 50–950 ramp

primary
#D175F2
secondary
#D9F3D0
accent
#DF0640
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175F2

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

Preview Lab → · Contrast checker → · Palette generator →

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