#C173FE#C173FE

#C173FE is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.8% C 0.205 H 307.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C173FE
RGBrgb(193, 115, 254)
HSLhsl(274, 99%, 72%)
HSVhsv(274, 55%, 100%)
CMYKcmyk(24%, 54.7%, 0%, 0.4%)
CIE-LABlab(62.30, 55.09, -57.61)
CIE-LCHlch(62.30, 79.71, 313.72°)
OKLaboklab(69.83% 0.1259 -0.162)
OKLCHoklch(69.83% 0.205 307.9)
XYZxyz(46.0088, 30.7553, 97.2593)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173FE #B0FE73
analogous
#7B73FE #C173FE #FE73F6
triadic
#C173FE #FEC173 #73FEC1
tetradic
#C173FE #FE7B73 #B0FE73 #73F6FE
square
#C173FE #FE7B73 #B0FE73 #73F6FE
split-complementary
#C173FE #F6FE73 #73FE7B
monochromatic
#8A02F5 #A636FE #C173FE #DCB0FE #F2E1FF

Accessibility & contrast

On white

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

On black

7.15
#C173FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173FE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173FE#FFFFFF#000000##000000
##C173FE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#B88CAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c173fe;
/* rgb */ color: rgb(193, 115, 254);
/* oklch */ color: oklch(69.8% 0.205 307.9);
Tailwind
colors: {
  custom: {
    50: '#d79eff',
    500: '#c173fe',
    950: '#000000',
  },
}
SCSS
$custom: #c173fe;
$custom-light: #d79eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c173fe",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 273.669,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69825,
    "c": 0.20515,
    "h": 307.9
  },
  "luminance": 0.30755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C173FE

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

Preview Lab → · Contrast checker → · Palette generator →

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