#C173DD#C173DD

#C173DD is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.169 H 316.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#C173DD
RGBrgb(193, 115, 221)
HSLhsl(284, 61%, 66%)
HSVhsv(284, 48%, 87%)
CMYKcmyk(12.7%, 48%, 0%, 13.3%)
CIE-LABlab(60.62, 48.05, -41.96)
CIE-LCHlch(60.62, 63.79, 318.87°)
OKLaboklab(68.04% 0.123 -0.1164)
OKLCHoklch(68.04% 0.169 316.6)
XYZxyz(41.1723, 28.8206, 71.7867)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173DD #8FDD73
analogous
#8C73DD #C173DD #DD73C4
triadic
#C173DD #DDC173 #73DDC1
tetradic
#C173DD #DD8C73 #8FDD73 #73C4DD
square
#C173DD #DD8C73 #8FDD73 #73C4DD
split-complementary
#C173DD #C4DD73 #73DD8C
monochromatic
#892AAC #AB42D1 #C173DD #D7A4E9 #EDD5F5

Accessibility & contrast

On white

3.10
#C173DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#C173DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173DD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173DD#FFFFFF#000000##000000
##C173DD1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#7595DA
Tritanopia (blue-blind)
#C0829E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c173dd;
/* rgb */ color: rgb(193, 115, 221);
/* oklch */ color: oklch(68.0% 0.169 316.6);
Tailwind
colors: {
  custom: {
    50: '#d69de8',
    500: '#c173dd',
    950: '#000000',
  },
}
SCSS
$custom: #c173dd;
$custom-light: #d69de8;
$custom-dark: #000000;
JSON
{
  "hex": "#c173dd",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 284.151,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.16937,
    "h": 316.6
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#C173DD
secondary
#CEE7C4
accent
#C91D4A
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #C173DD

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

Preview Lab → · Contrast checker → · Palette generator →

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