#C174FA#C174FA

#C174FA is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.7% C 0.199 H 308.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C174FA
RGBrgb(193, 116, 250)
HSLhsl(274, 93%, 72%)
HSVhsv(274, 54%, 98%)
CMYKcmyk(22.8%, 53.6%, 0%, 2%)
CIE-LABlab(62.28, 53.69, -55.44)
CIE-LCHlch(62.28, 77.18, 314.08°)
OKLaboklab(69.74% 0.1245 -0.1556)
OKLCHoklch(69.74% 0.199 308.6)
XYZxyz(45.4896, 30.7310, 93.9592)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174FA #ADFA74
analogous
#7E74FA #C174FA #FA74F0
triadic
#C174FA #FAC174 #74FAC1
tetradic
#C174FA #FA7E74 #ADFA74 #74F0FA
square
#C174FA #FA7E74 #ADFA74 #74F0FA
split-complementary
#C174FA #F0FA74 #74FA7E
monochromatic
#8B08EB #A739F8 #C174FA #DBAFFC #F2E1FE

Accessibility & contrast

On white

2.94
#C174FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C174FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174FA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174FA#FFFFFF#000000##000000
##C174FA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#B98CAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c174fa;
/* rgb */ color: rgb(193, 116, 250);
/* oklch */ color: oklch(69.7% 0.199 308.6);
Tailwind
colors: {
  custom: {
    50: '#d79ffc',
    500: '#c174fa',
    950: '#000000',
  },
}
SCSS
$custom: #c174fa;
$custom-light: #d79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c174fa",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 274.478,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.19929,
    "h": 308.6
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#C174FA
secondary
#E2F6D4
accent
#E60062
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C174FA

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

Preview Lab → · Contrast checker → · Palette generator →

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