#C173F4#C173F4

#C173F4 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.3% C 0.194 H 310.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C173F4
RGBrgb(193, 115, 244)
HSLhsl(276, 85%, 70%)
HSVhsv(276, 53%, 96%)
CMYKcmyk(20.9%, 52.9%, 0%, 4.3%)
CIE-LABlab(61.77, 52.90, -52.95)
CIE-LCHlch(61.77, 74.84, 314.97°)
OKLaboklab(69.26% 0.1254 -0.1484)
OKLCHoklch(69.26% 0.194 310.2)
XYZxyz(44.4491, 30.1314, 89.0448)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173F4 #A6F473
analogous
#8073F4 #C173F4 #F473E6
triadic
#C173F4 #F4C173 #73F4C1
tetradic
#C173F4 #F48073 #A6F473 #73E6F4
square
#C173F4 #F48073 #A6F473 #73E6F4
split-complementary
#C173F4 #E6F473 #73F480
monochromatic
#8B11DB #A83AF0 #C173F4 #DAACF8 #F2E3FD

Accessibility & contrast

On white

2.99
#C173F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C173F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173F4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173F4#FFFFFF#000000##000000
##C173F41.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F8
Deuteranopia (green-blind)
#6897F1
Tritanopia (blue-blind)
#BB89A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c173f4;
/* rgb */ color: rgb(193, 115, 244);
/* oklch */ color: oklch(69.3% 0.194 310.2);
Tailwind
colors: {
  custom: {
    50: '#d69ef8',
    500: '#c173f4',
    950: '#000000',
  },
}
SCSS
$custom: #c173f4;
$custom-light: #d69ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#c173f4",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 276.279,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6926,
    "c": 0.19422,
    "h": 310.2
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

primary
#C173F4
secondary
#DEF3D0
accent
#E2045B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C173F4

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

Preview Lab → · Contrast checker → · Palette generator →

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