#D178FF#D178FF

#D178FF is a light, highly saturated violet. Relative luminance 0.342; OKLCH L 72.3% C 0.204 H 312.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D178FF
RGBrgb(209, 120, 255)
HSLhsl(280, 100%, 74%)
HSVhsv(280, 53%, 100%)
CMYKcmyk(18%, 52.9%, 0%, 0%)
CIE-LABlab(65.13, 56.76, -53.55)
CIE-LCHlch(65.13, 78.04, 316.67°)
OKLaboklab(72.32% 0.1388 -0.1497)
OKLCHoklch(72.32% 0.204 312.8)
XYZxyz(51.0579, 34.2095, 98.5018)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178FF #A6FF78
analogous
#8D78FF #D178FF #FF78E9
triadic
#D178FF #FFD178 #78FFD1
tetradic
#D178FF #FF8D78 #A6FF78 #78E9FF
square
#D178FF #FF8D78 #A6FF78 #78E9FF
split-complementary
#D178FF #E9FF78 #78FF8D
monochromatic
#A700FD #BC3BFF #D178FF #E6B5FF #F5E0FF

Accessibility & contrast

On white

2.68
#D178FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D178FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178FF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178FF#FFFFFF#000000##000000
##D178FF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#CD8EB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d178ff;
/* rgb */ color: rgb(209, 120, 255);
/* oklch */ color: oklch(72.3% 0.204 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2a2ff',
    500: '#d178ff',
    950: '#000000',
  },
}
SCSS
$custom: #d178ff;
$custom-light: #e2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d178ff",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 279.556,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72322,
    "c": 0.20415,
    "h": 312.8
  },
  "luminance": 0.34208
}

Semantic roles & 50–950 ramp

primary
#D178FF
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D178FF

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

Preview Lab → · Contrast checker → · Palette generator →

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