#C173FB#C173FB

#C173FB is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.7% C 0.202 H 308.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C173FB
RGBrgb(193, 115, 251)
HSLhsl(274, 94%, 72%)
HSVhsv(274, 54%, 98%)
CMYKcmyk(23.1%, 54.2%, 0%, 1.6%)
CIE-LABlab(62.14, 54.42, -56.22)
CIE-LCHlch(62.14, 78.25, 314.07°)
OKLaboklab(69.65% 0.1258 -0.1579)
OKLCHoklch(69.65% 0.202 308.5)
XYZxyz(45.5322, 30.5646, 94.7490)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173FB #ADFB73
analogous
#7D73FB #C173FB #FB73F1
triadic
#C173FB #FBC173 #73FBC1
tetradic
#C173FB #FB7D73 #ADFB73 #73F1FB
square
#C173FB #FB7D73 #ADFB73 #73F1FB
split-complementary
#C173FB #F1FB73 #73FB7D
monochromatic
#8B07ED #A738F9 #C173FB #DBAFFD #F2E1FE

Accessibility & contrast

On white

2.95
#C173FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C173FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C173FB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173FB#FFFFFF#000000##000000
##C173FB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#B98BAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c173fb;
/* rgb */ color: rgb(193, 115, 251);
/* oklch */ color: oklch(69.7% 0.202 308.5);
Tailwind
colors: {
  custom: {
    50: '#d79efd',
    500: '#c173fb',
    950: '#000000',
  },
}
SCSS
$custom: #c173fb;
$custom-light: #d79efd;
$custom-dark: #000000;
JSON
{
  "hex": "#c173fb",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 274.412,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.20188,
    "h": 308.5
  },
  "luminance": 0.30564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C173FB

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

Preview Lab → · Contrast checker → · Palette generator →

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