#C173F5#C173F5

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

Color values

HEX#C173F5
RGBrgb(193, 115, 245)
HSLhsl(276, 87%, 71%)
HSVhsv(276, 53%, 96%)
CMYKcmyk(21.2%, 53.1%, 0%, 3.9%)
CIE-LABlab(61.82, 53.11, -53.42)
CIE-LCHlch(61.82, 75.33, 314.84°)
OKLaboklab(69.32% 0.1254 -0.1497)
OKLCHoklch(69.32% 0.195 310)
XYZxyz(44.6014, 30.1923, 89.8466)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173F5 #A7F573
analogous
#8073F5 #C173F5 #F573E8
triadic
#C173F5 #F5C173 #73F5C1
tetradic
#C173F5 #F58073 #A7F573 #73E8F5
square
#C173F5 #F58073 #A7F573 #73E8F5
split-complementary
#C173F5 #E8F573 #73F580
monochromatic
#8B10DE #A83AF1 #C173F5 #DAACF9 #F2E2FD

Accessibility & contrast

On white

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

On black

7.04
#C173F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173F5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173F5#FFFFFF#000000##000000
##C173F51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#BA8AA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c173f5;
/* rgb */ color: rgb(193, 115, 245);
/* oklch */ color: oklch(69.3% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#d69ef9',
    500: '#c173f5',
    950: '#000000',
  },
}
SCSS
$custom: #c173f5;
$custom-light: #d69ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c173f5",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 276,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.19532,
    "h": 310
  },
  "luminance": 0.30191
}

Semantic roles & 50–950 ramp

primary
#C173F5
secondary
#DEF4D0
accent
#E3025C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C173F5

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

Preview Lab → · Contrast checker → · Palette generator →

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