#C174FE#C174FE

#C174FE is a light, highly saturated violet. Relative luminance 0.310; OKLCH L 70.0% C 0.204 H 307.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C174FE
RGBrgb(193, 116, 254)
HSLhsl(273, 99%, 73%)
HSVhsv(273, 54%, 100%)
CMYKcmyk(24%, 54.3%, 0%, 0.4%)
CIE-LABlab(62.49, 54.58, -57.30)
CIE-LCHlch(62.49, 79.13, 313.60°)
OKLaboklab(69.97% 0.1247 -0.1611)
OKLCHoklch(69.97% 0.204 307.7)
XYZxyz(46.1235, 30.9846, 97.2975)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174FE #B1FE74
analogous
#7C74FE #C174FE #FE74F6
triadic
#C174FE #FEC174 #74FEC1
tetradic
#C174FE #FE7C74 #B1FE74 #74F6FE
square
#C174FE #FE7C74 #B1FE74 #74F6FE
split-complementary
#C174FE #F6FE74 #74FE7C
monochromatic
#8A02F6 #A637FE #C174FE #DCB1FE #F1E1FF

Accessibility & contrast

On white

2.92
#C174FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C174FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174FE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174FE#FFFFFF#000000##000000
##C174FE1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#B88DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c174fe;
/* rgb */ color: rgb(193, 116, 254);
/* oklch */ color: oklch(70.0% 0.204 307.7);
Tailwind
colors: {
  custom: {
    50: '#d79fff',
    500: '#c174fe',
    950: '#000000',
  },
}
SCSS
$custom: #c174fe;
$custom-light: #d79fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c174fe",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 273.478,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.20368,
    "h": 307.7
  },
  "luminance": 0.30984
}

Semantic roles & 50–950 ramp

primary
#C174FE
secondary
#E3F7D4
accent
#E60065
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C174FE

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

Preview Lab → · Contrast checker → · Palette generator →

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