#C173FA#C173FA

#C173FA is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.6% C 0.201 H 308.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C173FA
RGBrgb(193, 115, 250)
HSLhsl(275, 93%, 72%)
HSVhsv(275, 54%, 98%)
CMYKcmyk(22.8%, 54%, 0%, 2%)
CIE-LABlab(62.08, 54.21, -55.76)
CIE-LCHlch(62.08, 77.76, 314.19°)
OKLaboklab(69.6% 0.1257 -0.1565)
OKLCHoklch(69.6% 0.201 308.8)
XYZxyz(45.3750, 30.5017, 93.9210)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173FA #ACFA73
analogous
#7E73FA #C173FA #FA73EF
triadic
#C173FA #FAC173 #73FAC1
tetradic
#C173FA #FA7E73 #ACFA73 #73EFFA
square
#C173FA #FA7E73 #ACFA73 #73EFFA
split-complementary
#C173FA #EFFA73 #73FA7E
monochromatic
#8B08EA #A738F8 #C173FA #DBAEFC #F2E1FE

Accessibility & contrast

On white

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

On black

7.10
#C173FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173FA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173FA#FFFFFF#000000##000000
##C173FA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#B98BAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c173fa;
/* rgb */ color: rgb(193, 115, 250);
/* oklch */ color: oklch(69.6% 0.201 308.8);
Tailwind
colors: {
  custom: {
    50: '#d79efc',
    500: '#c173fa',
    950: '#000000',
  },
}
SCSS
$custom: #c173fa;
$custom-light: #d79efc;
$custom-dark: #000000;
JSON
{
  "hex": "#c173fa",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 274.667,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69597,
    "c": 0.20078,
    "h": 308.8
  },
  "luminance": 0.30501
}

Semantic roles & 50–950 ramp

primary
#C173FA
secondary
#E2F6D3
accent
#E60061
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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