#C173EA#C173EA

#C173EA is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.183 H 312.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#C173EA
RGBrgb(193, 115, 234)
HSLhsl(279, 74%, 68%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(17.5%, 50.9%, 0%, 8.2%)
CIE-LABlab(61.26, 50.75, -48.22)
CIE-LCHlch(61.26, 70.01, 316.47°)
OKLaboklab(68.72% 0.1245 -0.1346)
OKLCHoklch(68.72% 0.183 312.8)
XYZxyz(42.9718, 29.5404, 81.2641)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173EA #9CEA73
analogous
#8573EA #C173EA #EA73D7
triadic
#C173EA #EAC173 #73EAC1
tetradic
#C173EA #EA8573 #9CEA73 #73D7EA
square
#C173EA #EA8573 #9CEA73 #73D7EA
split-complementary
#C173EA #D7EA73 #73EA85
monochromatic
#8B1EC5 #A93EE2 #C173EA #D9A8F2 #F0DDFA

Accessibility & contrast

On white

3.04
#C173EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#C173EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173EA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173EA#FFFFFF#000000##000000
##C173EA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#BD86A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c173ea;
/* rgb */ color: rgb(193, 115, 234);
/* oklch */ color: oklch(68.7% 0.183 312.8);
Tailwind
colors: {
  custom: {
    50: '#d69ef1',
    500: '#c173ea',
    950: '#000000',
  },
}
SCSS
$custom: #c173ea;
$custom-light: #d69ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c173ea",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 279.328,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68716,
    "c": 0.18334,
    "h": 312.8
  },
  "luminance": 0.29539
}

Semantic roles & 50–950 ramp

primary
#C173EA
secondary
#D7EECA
accent
#D60F54
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C173EA

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

Preview Lab → · Contrast checker → · Palette generator →

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