#D175F8#D175F8

#D175F8 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.5% C 0.201 H 314.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D175F8
RGBrgb(209, 117, 248)
HSLhsl(282, 90%, 72%)
HSVhsv(282, 53%, 97%)
CMYKcmyk(15.7%, 52.8%, 0%, 2.7%)
CIE-LABlab(64.21, 56.82, -51.17)
CIE-LCHlch(64.21, 76.46, 317.99°)
OKLaboklab(71.53% 0.1421 -0.1428)
OKLCHoklch(71.53% 0.201 314.9)
XYZxyz(49.5964, 33.0567, 92.5567)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175F8 #9CF875
analogous
#9075F8 #D175F8 #F875DE
triadic
#D175F8 #F8D175 #75F8D1
tetradic
#D175F8 #F89075 #9CF875 #75DEF8
square
#D175F8 #F89075 #9CF875 #75DEF8
split-complementary
#D175F8 #DEF875 #75F890
monochromatic
#A60CE7 #BE3BF5 #D175F8 #E4AFFB #F5E2FE

Accessibility & contrast

On white

2.76
#D175F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D175F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175F8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175F8#FFFFFF#000000##000000
##D175F81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#CE8AAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d175f8;
/* rgb */ color: rgb(209, 117, 248);
/* oklch */ color: oklch(71.5% 0.201 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2a0fb',
    500: '#d175f8',
    950: '#000000',
  },
}
SCSS
$custom: #d175f8;
$custom-light: #e2a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d175f8",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 282.137,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.20143,
    "h": 314.9
  },
  "luminance": 0.33055
}

Semantic roles & 50–950 ramp

primary
#D175F8
secondary
#DEF5D4
accent
#E60044
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175F8

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

Preview Lab → · Contrast checker → · Palette generator →

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