#C173EB#C173EB

#C173EB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.184 H 312.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C173EB
RGBrgb(193, 115, 235)
HSLhsl(279, 75%, 69%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(17.9%, 51.1%, 0%, 7.8%)
CIE-LABlab(61.31, 50.97, -48.69)
CIE-LCHlch(61.31, 70.49, 316.31°)
OKLaboklab(68.77% 0.1246 -0.136)
OKLCHoklch(68.77% 0.184 312.5)
XYZxyz(43.1159, 29.5981, 82.0229)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173EB #9DEB73
analogous
#8573EB #C173EB #EB73D9
triadic
#C173EB #EBC173 #73EBC1
tetradic
#C173EB #EB8573 #9DEB73 #73D9EB
square
#C173EB #EB8573 #9DEB73 #73D9EB
split-complementary
#C173EB #D9EB73 #73EB85
monochromatic
#8B1CC7 #A93DE3 #C173EB #D9A9F3 #F0DEFA

Accessibility & contrast

On white

3.03
#C173EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C173EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173EB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173EB#FFFFFF#000000##000000
##C173EB1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#BD87A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c173eb;
/* rgb */ color: rgb(193, 115, 235);
/* oklch */ color: oklch(68.8% 0.184 312.5);
Tailwind
colors: {
  custom: {
    50: '#d69ef2',
    500: '#c173eb',
    950: '#000000',
  },
}
SCSS
$custom: #c173eb;
$custom-light: #d69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c173eb",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 279,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.18443,
    "h": 312.5
  },
  "luminance": 0.29597
}

Semantic roles & 50–950 ramp

primary
#C173EB
secondary
#D8EFCB
accent
#D70E55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C173EB

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

Preview Lab → · Contrast checker → · Palette generator →

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