#D175F5#D175F5

#D175F5 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.198 H 315.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D175F5
RGBrgb(209, 117, 245)
HSLhsl(283, 86%, 71%)
HSVhsv(283, 52%, 96%)
CMYKcmyk(14.7%, 52.2%, 0%, 3.9%)
CIE-LABlab(64.06, 56.21, -49.75)
CIE-LCHlch(64.06, 75.07, 318.49°)
OKLaboklab(71.37% 0.1418 -0.1386)
OKLCHoklch(71.37% 0.198 315.7)
XYZxyz(49.1347, 32.8720, 90.1252)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D175F5 #99F575
analogous
#9175F5 #D175F5 #F575D9
triadic
#D175F5 #F5D175 #75F5D1
tetradic
#D175F5 #F59175 #99F575 #75D9F5
square
#D175F5 #F59175 #99F575 #75D9F5
split-complementary
#D175F5 #D9F575 #75F591
monochromatic
#A510DF #BE3CF1 #D175F5 #E4AEF9 #F5E2FD

Accessibility & contrast

On white

2.77
#D175F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D175F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D175F5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D175F5#FFFFFF#000000##000000
##D175F51.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#CF89AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d175f5;
/* rgb */ color: rgb(209, 117, 245);
/* oklch */ color: oklch(71.4% 0.198 315.7);
Tailwind
colors: {
  custom: {
    50: '#e2a0f9',
    500: '#d175f5',
    950: '#000000',
  },
}
SCSS
$custom: #d175f5;
$custom-light: #e2a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d175f5",
  "rgb": {
    "r": 209,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 283.125,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7137,
    "c": 0.19835,
    "h": 315.7
  },
  "luminance": 0.3287
}

Semantic roles & 50–950 ramp

primary
#D175F5
secondary
#DBF4D2
accent
#E30242
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D175F5

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

Preview Lab → · Contrast checker → · Palette generator →

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