#C174FD#C174FD

#C174FD is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.203 H 308.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C174FD
RGBrgb(193, 116, 253)
HSLhsl(274, 97%, 72%)
HSVhsv(274, 54%, 99%)
CMYKcmyk(23.7%, 54.2%, 0%, 0.8%)
CIE-LABlab(62.44, 54.35, -56.84)
CIE-LCHlch(62.44, 78.65, 313.72°)
OKLaboklab(69.91% 0.1246 -0.1597)
OKLCHoklch(69.91% 0.203 308)
XYZxyz(45.9638, 30.9207, 96.4564)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174FD #B0FD74
analogous
#7D74FD #C174FD #FD74F4
triadic
#C174FD #FDC174 #74FDC1
tetradic
#C174FD #FD7D74 #B0FD74 #74F4FD
square
#C174FD #FD7D74 #B0FD74 #74F4FD
split-complementary
#C174FD #F4FD74 #74FD7D
monochromatic
#8A03F3 #A638FC #C174FD #DCB0FE #F2E1FF

Accessibility & contrast

On white

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

On black

7.18
#C174FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174FD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174FD#FFFFFF#000000##000000
##C174FD1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#B88DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c174fd;
/* rgb */ color: rgb(193, 116, 253);
/* oklch */ color: oklch(69.9% 0.203 308.0);
Tailwind
colors: {
  custom: {
    50: '#d79fff',
    500: '#c174fd',
    950: '#000000',
  },
}
SCSS
$custom: #c174fd;
$custom-light: #d79fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c174fd",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 273.723,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.20257,
    "h": 308
  },
  "luminance": 0.3092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C174FD

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

Preview Lab → · Contrast checker → · Palette generator →

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