#C174EB#C174EB

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

Color values

HEX#C174EB
RGBrgb(193, 116, 235)
HSLhsl(279, 75%, 69%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(17.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(61.51, 50.45, -48.38)
CIE-LCHlch(61.51, 69.90, 316.20°)
OKLaboklab(68.92% 0.1233 -0.135)
OKLCHoklch(68.92% 0.183 312.4)
XYZxyz(43.2305, 29.8274, 82.0611)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174EB #9EEB74
analogous
#8674EB #C174EB #EB74D9
triadic
#C174EB #EBC174 #74EBC1
tetradic
#C174EB #EB8674 #9EEB74 #74D9EB
square
#C174EB #EB8674 #9EEB74 #74D9EB
split-complementary
#C174EB #D9EB74 #74EB86
monochromatic
#8B1DC8 #A93EE3 #C174EB #D9AAF3 #F1DFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C174EB#FFFFFF#000000##000000
##C174EB1.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)
#5790EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#BD87A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c174eb;
/* rgb */ color: rgb(193, 116, 235);
/* oklch */ color: oklch(68.9% 0.183 312.4);
Tailwind
colors: {
  custom: {
    50: '#d69ef2',
    500: '#c174eb',
    950: '#000000',
  },
}
SCSS
$custom: #c174eb;
$custom-light: #d69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c174eb",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 278.824,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.18286,
    "h": 312.4
  },
  "luminance": 0.29826
}

Semantic roles & 50–950 ramp

primary
#C174EB
secondary
#D8EFCC
accent
#D70F55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174EB

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

Preview Lab → · Contrast checker → · Palette generator →

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