#C173EF#C173EF

#C173EF is a light, vivid violet. Relative luminance 0.298; OKLCH L 69.0% C 0.189 H 311.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C173EF
RGBrgb(193, 115, 239)
HSLhsl(278, 79%, 69%)
HSVhsv(278, 52%, 94%)
CMYKcmyk(19.2%, 51.9%, 0%, 6.3%)
CIE-LABlab(61.51, 51.82, -50.59)
CIE-LCHlch(61.51, 72.42, 315.69°)
OKLaboklab(68.99% 0.125 -0.1415)
OKLCHoklch(68.99% 0.189 311.5)
XYZxyz(43.7002, 29.8318, 85.1007)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173EF #A1EF73
analogous
#8373EF #C173EF #EF73DF
triadic
#C173EF #EFC173 #73EFC1
tetradic
#C173EF #EF8373 #A1EF73 #73DFEF
square
#C173EF #EF8373 #A1EF73 #73DFEF
split-complementary
#C173EF #DFEF73 #73EF83
monochromatic
#8C18D0 #A93CE9 #C173EF #D9AAF5 #F2E1FC

Accessibility & contrast

On white

3.01
#C173EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C173EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173EF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173EF#FFFFFF#000000##000000
##C173EF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BC88A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c173ef;
/* rgb */ color: rgb(193, 115, 239);
/* oklch */ color: oklch(69.0% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#d69ef5',
    500: '#c173ef',
    950: '#000000',
  },
}
SCSS
$custom: #c173ef;
$custom-light: #d69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c173ef",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 277.742,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68986,
    "c": 0.18877,
    "h": 311.5
  },
  "luminance": 0.29831
}

Semantic roles & 50–950 ramp

primary
#C173EF
secondary
#DAF1CD
accent
#DC0A58
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C173EF

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

Preview Lab → · Contrast checker → · Palette generator →

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