#C174F5#C174F5

#C174F5 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.5% C 0.194 H 309.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C174F5
RGBrgb(193, 116, 245)
HSLhsl(276, 87%, 71%)
HSVhsv(276, 53%, 96%)
CMYKcmyk(21.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(62.02, 52.60, -53.11)
CIE-LCHlch(62.02, 74.75, 314.73°)
OKLaboklab(69.46% 0.1241 -0.1488)
OKLCHoklch(69.46% 0.194 309.8)
XYZxyz(44.7160, 30.4216, 89.8848)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174F5 #A8F574
analogous
#8074F5 #C174F5 #F574E8
triadic
#C174F5 #F5C174 #74F5C1
tetradic
#C174F5 #F58074 #A8F574 #74E8F5
square
#C174F5 #F58074 #A8F574 #74E8F5
split-complementary
#C174F5 #E8F574 #74F580
monochromatic
#8B10DF #A83BF1 #C174F5 #DAADF9 #F2E2FD

Accessibility & contrast

On white

2.96
#C174F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C174F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174F5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174F5#FFFFFF#000000##000000
##C174F51.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#BA8AAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c174f5;
/* rgb */ color: rgb(193, 116, 245);
/* oklch */ color: oklch(69.5% 0.194 309.8);
Tailwind
colors: {
  custom: {
    50: '#d69ef9',
    500: '#c174f5',
    950: '#000000',
  },
}
SCSS
$custom: #c174f5;
$custom-light: #d69ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c174f5",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 275.814,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.19379,
    "h": 309.8
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

primary
#C174F5
secondary
#DFF4D1
accent
#E3025D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174F5

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

Preview Lab → · Contrast checker → · Palette generator →

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