#C173FD#C173FD

#C173FD is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.8% C 0.204 H 308.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C173FD
RGBrgb(193, 115, 253)
HSLhsl(274, 97%, 72%)
HSVhsv(274, 55%, 99%)
CMYKcmyk(23.7%, 54.5%, 0%, 0.8%)
CIE-LABlab(62.25, 54.87, -57.15)
CIE-LCHlch(62.25, 79.22, 313.83°)
OKLaboklab(69.77% 0.1259 -0.1606)
OKLCHoklch(69.77% 0.204 308.1)
XYZxyz(45.8491, 30.6914, 96.4181)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173FD #AFFD73
analogous
#7C73FD #C173FD #FD73F4
triadic
#C173FD #FDC173 #73FDC1
tetradic
#C173FD #FD7C73 #AFFD73 #73F4FD
square
#C173FD #FD7C73 #AFFD73 #73F4FD
split-complementary
#C173FD #F4FD73 #73FD7C
monochromatic
#8A03F2 #A637FC #C173FD #DCAFFE #F2E1FF

Accessibility & contrast

On white

2.94
#C173FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C173FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173FD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173FD#FFFFFF#000000##000000
##C173FD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#B88CAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c173fd;
/* rgb */ color: rgb(193, 115, 253);
/* oklch */ color: oklch(69.8% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#d79eff',
    500: '#c173fd',
    950: '#000000',
  },
}
SCSS
$custom: #c173fd;
$custom-light: #d79eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c173fd",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 273.913,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69768,
    "c": 0.20407,
    "h": 308.1
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

primary
#C173FD
secondary
#E3F7D4
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C173FD

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

Preview Lab → · Contrast checker → · Palette generator →

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