#C170FF#C170FF

#C170FF is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.5% C 0.211 H 308.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C170FF
RGBrgb(193, 112, 255)
HSLhsl(274, 100%, 72%)
HSVhsv(274, 56%, 100%)
CMYKcmyk(24.3%, 56.1%, 0%, 0%)
CIE-LABlab(61.78, 56.83, -58.99)
CIE-LCHlch(61.78, 81.91, 313.93°)
OKLaboklab(69.46% 0.1297 -0.166)
OKLCHoklch(69.46% 0.211 308)
XYZxyz(45.8329, 30.1464, 97.9927)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170FF #AEFF70
analogous
#7A70FF #C170FF #FF70F6
triadic
#C170FF #FFC170 #70FFC1
tetradic
#C170FF #FF7A70 #AEFF70 #70F6FF
square
#C170FF #FF7A70 #AEFF70 #70F6FF
split-complementary
#C170FF #F6FF70 #70FF7A
monochromatic
#8B00F5 #A633FF #C170FF #DCADFF #F2E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C170FF#FFFFFF#000000##000000
##C170FF1.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)
#3D92FF
Deuteranopia (green-blind)
#5C96FC
Tritanopia (blue-blind)
#B88BAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c170ff;
/* rgb */ color: rgb(193, 112, 255);
/* oklch */ color: oklch(69.5% 0.211 308.0);
Tailwind
colors: {
  custom: {
    50: '#d79cff',
    500: '#c170ff',
    950: '#000000',
  },
}
SCSS
$custom: #c170ff;
$custom-light: #d79cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ff",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 273.986,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.21064,
    "h": 308
  },
  "luminance": 0.30146
}

Semantic roles & 50–950 ramp

primary
#C170FF
secondary
#E3F7D3
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C170FF

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

Preview Lab → · Contrast checker → · Palette generator →

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