#C174F2#C174F2

#C174F2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.191 H 310.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#C174F2
RGBrgb(193, 116, 242)
HSLhsl(277, 83%, 70%)
HSVhsv(277, 52%, 95%)
CMYKcmyk(20.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(61.86, 51.95, -51.69)
CIE-LCHlch(61.86, 73.29, 315.14°)
OKLaboklab(69.3% 0.1239 -0.1447)
OKLCHoklch(69.3% 0.191 310.6)
XYZxyz(44.2618, 30.2399, 87.4924)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174F2 #A5F274
analogous
#8274F2 #C174F2 #F274E4
triadic
#C174F2 #F2C174 #74F2C1
tetradic
#C174F2 #F28274 #A5F274 #74E4F2
square
#C174F2 #F28274 #A5F274 #74E4F2
split-complementary
#C174F2 #E4F274 #74F282
monochromatic
#8C14D7 #A83CED #C174F2 #DAACF7 #F3E3FC

Accessibility & contrast

On white

2.98
#C174F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#C174F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174F2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174F2#FFFFFF#000000##000000
##C174F21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#BB89A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c174f2;
/* rgb */ color: rgb(193, 116, 242);
/* oklch */ color: oklch(69.3% 0.191 310.6);
Tailwind
colors: {
  custom: {
    50: '#d69ef7',
    500: '#c174f2',
    950: '#000000',
  },
}
SCSS
$custom: #c174f2;
$custom-light: #d69ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c174f2",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 276.667,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.1905,
    "h": 310.6
  },
  "luminance": 0.30239
}

Semantic roles & 50–950 ramp

primary
#C174F2
secondary
#DDF2CF
accent
#DF065B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174F2

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

Preview Lab → · Contrast checker → · Palette generator →

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