#C174EF#C174EF

#C174EF is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.187 H 311.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#C174EF
RGBrgb(193, 116, 239)
HSLhsl(278, 79%, 70%)
HSVhsv(278, 51%, 94%)
CMYKcmyk(19.2%, 51.5%, 0%, 6.3%)
CIE-LABlab(61.71, 51.30, -50.28)
CIE-LCHlch(61.71, 71.83, 315.58°)
OKLaboklab(69.13% 0.1237 -0.1406)
OKLCHoklch(69.13% 0.187 311.3)
XYZxyz(43.8149, 30.0611, 85.1389)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174EF #A2EF74
analogous
#8474EF #C174EF #EF74E0
triadic
#C174EF #EFC174 #74EFC1
tetradic
#C174EF #EF8474 #A2EF74 #74E0EF
square
#C174EF #EF8474 #A2EF74 #74E0EF
split-complementary
#C174EF #E0EF74 #74EF84
monochromatic
#8C18D1 #A93DE9 #C174EF #D9ABF5 #F2E2FC

Accessibility & contrast

On white

2.99
#C174EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#C174EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174EF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174EF#FFFFFF#000000##000000
##C174EF1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#BC88A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c174ef;
/* rgb */ color: rgb(193, 116, 239);
/* oklch */ color: oklch(69.1% 0.187 311.3);
Tailwind
colors: {
  custom: {
    50: '#d69ef5',
    500: '#c174ef',
    950: '#000000',
  },
}
SCSS
$custom: #c174ef;
$custom-light: #d69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c174ef",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 277.561,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.18722,
    "h": 311.3
  },
  "luminance": 0.3006
}

Semantic roles & 50–950 ramp

primary
#C174EF
secondary
#DBF1CE
accent
#DC0A58
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174EF

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

Preview Lab → · Contrast checker → · Palette generator →

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