#C178DF#C178DF

#C178DF is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.9% C 0.163 H 315.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C178DF
RGBrgb(193, 120, 223)
HSLhsl(283, 62%, 67%)
HSVhsv(283, 46%, 87%)
CMYKcmyk(13.5%, 46.2%, 0%, 12.5%)
CIE-LABlab(61.74, 45.83, -41.33)
CIE-LCHlch(61.74, 61.71, 317.96°)
OKLaboklab(68.9% 0.1164 -0.1146)
OKLCHoklch(68.9% 0.163 315.4)
XYZxyz(42.0260, 30.0993, 73.3936)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178DF #96DF78
analogous
#8D78DF #C178DF #DF78CA
triadic
#C178DF #DFC178 #78DFC1
tetradic
#C178DF #DF8D78 #96DF78 #78CADF
square
#C178DF #DF8D78 #96DF78 #78CADF
split-complementary
#C178DF #CADF78 #78DF8D
monochromatic
#8B2AB2 #AA47D3 #C178DF #D8A9EB #EEDBF6

Accessibility & contrast

On white

2.99
#C178DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C178DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178DF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178DF#FFFFFF#000000##000000
##C178DF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6491E3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#BF87A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c178df;
/* rgb */ color: rgb(193, 120, 223);
/* oklch */ color: oklch(68.9% 0.163 315.4);
Tailwind
colors: {
  custom: {
    50: '#d5a1e9',
    500: '#c178df',
    950: '#000000',
  },
}
SCSS
$custom: #c178df;
$custom-light: #d5a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c178df",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 282.524,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68903,
    "c": 0.16333,
    "h": 315.4
  },
  "luminance": 0.30098
}

Semantic roles & 50–950 ramp

primary
#C178DF
secondary
#D3EAC9
accent
#C91C4F
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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