#C174F4#C174F4

#C174F4 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.193 H 310.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C174F4
RGBrgb(193, 116, 244)
HSLhsl(276, 85%, 71%)
HSVhsv(276, 52%, 96%)
CMYKcmyk(20.9%, 52.5%, 0%, 4.3%)
CIE-LABlab(61.96, 52.38, -52.64)
CIE-LCHlch(61.96, 74.26, 314.86°)
OKLaboklab(69.41% 0.1241 -0.1474)
OKLCHoklch(69.41% 0.193 310.1)
XYZxyz(44.5638, 30.3607, 89.0830)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174F4 #A7F474
analogous
#8174F4 #C174F4 #F474E7
triadic
#C174F4 #F4C174 #74F4C1
tetradic
#C174F4 #F48174 #A7F474 #74E7F4
square
#C174F4 #F48174 #A7F474 #74E7F4
split-complementary
#C174F4 #E7F474 #74F481
monochromatic
#8B11DC #A83BF0 #C174F4 #DAADF8 #F2E3FD

Accessibility & contrast

On white

2.97
#C174F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C174F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174F4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174F4#FFFFFF#000000##000000
##C174F41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#6997F1
Tritanopia (blue-blind)
#BB8AA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c174f4;
/* rgb */ color: rgb(193, 116, 244);
/* oklch */ color: oklch(69.4% 0.193 310.1);
Tailwind
colors: {
  custom: {
    50: '#d69ef8',
    500: '#c174f4',
    950: '#000000',
  },
}
SCSS
$custom: #c174f4;
$custom-light: #d69ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#c174f4",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 276.094,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.1927,
    "h": 310.1
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#C174F4
secondary
#DEF3D1
accent
#E2045C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C174F4

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

Preview Lab → · Contrast checker → · Palette generator →

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