#C174ED#C174ED

#C174ED is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.0% C 0.185 H 311.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C174ED
RGBrgb(193, 116, 237)
HSLhsl(278, 77%, 69%)
HSVhsv(278, 51%, 93%)
CMYKcmyk(18.6%, 51.1%, 0%, 7.1%)
CIE-LABlab(61.61, 50.87, -49.33)
CIE-LCHlch(61.61, 70.86, 315.88°)
OKLaboklab(69.02% 0.1235 -0.1378)
OKLCHoklch(69.02% 0.185 311.9)
XYZxyz(43.5211, 29.9436, 83.5914)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174ED #A0ED74
analogous
#8574ED #C174ED #ED74DC
triadic
#C174ED #EDC174 #74EDC1
tetradic
#C174ED #ED8574 #A0ED74 #74DCED
square
#C174ED #ED8574 #A0ED74 #74DCED
split-complementary
#C174ED #DCED74 #74ED85
monochromatic
#8C1ACC #A93EE6 #C174ED #D9AAF4 #F1E0FB

Accessibility & contrast

On white

3.00
#C174ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C174ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C174ED
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174ED#FFFFFF#000000##000000
##C174ED1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#BC88A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c174ed;
/* rgb */ color: rgb(193, 116, 237);
/* oklch */ color: oklch(69.0% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#d69ef3',
    500: '#c174ed',
    950: '#000000',
  },
}
SCSS
$custom: #c174ed;
$custom-light: #d69ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c174ed",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 278.182,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.18504,
    "h": 311.9
  },
  "luminance": 0.29943
}

Semantic roles & 50–950 ramp

primary
#C174ED
secondary
#DAF0CD
accent
#D90C57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174ED

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

Preview Lab → · Contrast checker → · Palette generator →

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