#C174EA#C174EA

#C174EA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.182 H 312.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C174EA
RGBrgb(193, 116, 234)
HSLhsl(279, 74%, 69%)
HSVhsv(279, 50%, 92%)
CMYKcmyk(17.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(61.45, 50.24, -47.90)
CIE-LCHlch(61.45, 69.41, 316.36°)
OKLaboklab(68.86% 0.1232 -0.1337)
OKLCHoklch(68.86% 0.182 312.7)
XYZxyz(43.0864, 29.7697, 81.3024)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174EA #9DEA74
analogous
#8674EA #C174EA #EA74D8
triadic
#C174EA #EAC174 #74EAC1
tetradic
#C174EA #EA8674 #9DEA74 #74D8EA
square
#C174EA #EA8674 #9DEA74 #74D8EA
split-complementary
#C174EA #D8EA74 #74EA86
monochromatic
#8B1EC6 #A93FE2 #C174EA #D9A9F2 #F0DEFA

Accessibility & contrast

On white

3.02
#C174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C174EA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174EA#FFFFFF#000000##000000
##C174EA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#BD87A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c174ea;
/* rgb */ color: rgb(193, 116, 234);
/* oklch */ color: oklch(68.9% 0.182 312.7);
Tailwind
colors: {
  custom: {
    50: '#d69ef1',
    500: '#c174ea',
    950: '#000000',
  },
}
SCSS
$custom: #c174ea;
$custom-light: #d69ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c174ea",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 279.153,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.18177,
    "h": 312.7
  },
  "luminance": 0.29769
}

Semantic roles & 50–950 ramp

primary
#C174EA
secondary
#D8EFCB
accent
#D61055
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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