#C173FF#C173FF

#C173FF is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.9% C 0.206 H 307.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C173FF
RGBrgb(193, 115, 255)
HSLhsl(273, 100%, 73%)
HSVhsv(273, 55%, 100%)
CMYKcmyk(24.3%, 54.9%, 0%, 0%)
CIE-LABlab(62.35, 55.31, -58.08)
CIE-LCHlch(62.35, 80.20, 313.60°)
OKLaboklab(69.88% 0.1259 -0.1633)
OKLCHoklch(69.88% 0.206 307.6)
XYZxyz(46.1694, 30.8195, 98.1049)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173FF #B1FF73
analogous
#7B73FF #C173FF #FF73F7
triadic
#C173FF #FFC173 #73FFC1
tetradic
#C173FF #FF7B73 #B1FF73 #73F7FF
square
#C173FF #FF7B73 #B1FF73 #73F7FF
split-complementary
#C173FF #F7FF73 #73FF7B
monochromatic
#8A00F8 #A636FF #C173FF #DCB0FF #F1E0FF

Accessibility & contrast

On white

2.93
#C173FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C173FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173FF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173FF#FFFFFF#000000##000000
##C173FF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#5F98FC
Tritanopia (blue-blind)
#B88DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c173ff;
/* rgb */ color: rgb(193, 115, 255);
/* oklch */ color: oklch(69.9% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#d79eff',
    500: '#c173ff',
    950: '#000000',
  },
}
SCSS
$custom: #c173ff;
$custom-light: #d79eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c173ff",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 273.429,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69883,
    "c": 0.20625,
    "h": 307.6
  },
  "luminance": 0.30819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C173FF

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

Preview Lab → · Contrast checker → · Palette generator →

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