#C170E0#C170E0

#C170E0 is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.8% C 0.177 H 315.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#C170E0
RGBrgb(193, 112, 224)
HSLhsl(283, 64%, 66%)
HSVhsv(283, 50%, 88%)
CMYKcmyk(13.8%, 50%, 0%, 12.2%)
CIE-LABlab(60.17, 50.22, -44.36)
CIE-LCHlch(60.17, 67.00, 318.55°)
OKLaboklab(67.75% 0.1275 -0.1233)
OKLCHoklch(67.75% 0.177 315.9)
XYZxyz(41.2390, 28.3089, 73.7984)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170E0 #8FE070
analogous
#8970E0 #C170E0 #E070C7
triadic
#C170E0 #E0C170 #70E0C1
tetradic
#C170E0 #E08970 #8FE070 #70C7E0
square
#C170E0 #E08970 #8FE070 #70C7E0
split-complementary
#C170E0 #C7E070 #70E089
monochromatic
#8926B0 #AB3ED5 #C170E0 #D7A2EB #EDD5F6

Accessibility & contrast

On white

3.15
#C170E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#C170E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170E0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170E0#FFFFFF#000000##000000
##C170E01.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE4
Deuteranopia (green-blind)
#7193DD
Tritanopia (blue-blind)
#BF819E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c170e0;
/* rgb */ color: rgb(193, 112, 224);
/* oklch */ color: oklch(67.8% 0.177 315.9);
Tailwind
colors: {
  custom: {
    50: '#d69cea',
    500: '#c170e0',
    950: '#000000',
  },
}
SCSS
$custom: #c170e0;
$custom-light: #d69cea;
$custom-dark: #000000;
JSON
{
  "hex": "#c170e0",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 224
  },
  "hsl": {
    "h": 283.393,
    "s": 64.368,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.1774,
    "h": 315.9
  },
  "luminance": 0.28308
}

Semantic roles & 50–950 ramp

primary
#C170E0
secondary
#CEE8C3
accent
#CC194B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C170E0

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

Preview Lab → · Contrast checker → · Palette generator →

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