#C173DF#C173DF

#C173DF is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.172 H 316.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C173DF
RGBrgb(193, 115, 223)
HSLhsl(283, 63%, 66%)
HSVhsv(283, 48%, 87%)
CMYKcmyk(13.5%, 48.4%, 0%, 12.5%)
CIE-LABlab(60.72, 48.46, -42.93)
CIE-LCHlch(60.72, 64.74, 318.46°)
OKLaboklab(68.14% 0.1233 -0.1192)
OKLCHoklch(68.14% 0.172 316)
XYZxyz(41.4403, 28.9279, 73.1984)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173DF #91DF73
analogous
#8B73DF #C173DF #DF73C7
triadic
#C173DF #DFC173 #73DFC1
tetradic
#C173DF #DF8B73 #91DF73 #73C7DF
square
#C173DF #DF8B73 #91DF73 #73C7DF
split-complementary
#C173DF #C7DF73 #73DF8B
monochromatic
#8A28AF #AB41D4 #C173DF #D7A5EA #EDD7F6

Accessibility & contrast

On white

3.09
#C173DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C173DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173DF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173DF#FFFFFF#000000##000000
##C173DF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#7495DC
Tritanopia (blue-blind)
#C0839F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c173df;
/* rgb */ color: rgb(193, 115, 223);
/* oklch */ color: oklch(68.1% 0.172 316.0);
Tailwind
colors: {
  custom: {
    50: '#d69de9',
    500: '#c173df',
    950: '#000000',
  },
}
SCSS
$custom: #c173df;
$custom-light: #d69de9;
$custom-dark: #000000;
JSON
{
  "hex": "#c173df",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 283.333,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.1715,
    "h": 316
  },
  "luminance": 0.28927
}

Semantic roles & 50–950 ramp

primary
#C173DF
secondary
#CFE9C5
accent
#CB1B4C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C173DF

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

Preview Lab → · Contrast checker → · Palette generator →

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