#C17EE4#C17EE4

#C17EE4 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.159 H 313.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C17EE4
RGBrgb(193, 126, 228)
HSLhsl(279, 65%, 69%)
HSVhsv(279, 45%, 89%)
CMYKcmyk(15.4%, 44.7%, 0%, 10.6%)
CIE-LABlab(63.23, 43.68, -41.77)
CIE-LCHlch(63.23, 60.44, 316.28°)
OKLaboklab(70.09% 0.1087 -0.1159)
OKLCHoklch(70.09% 0.159 313.2)
XYZxyz(43.4544, 31.8616, 77.2445)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EE4 #A1E47E
analogous
#8E7EE4 #C17EE4 #E47ED4
triadic
#C17EE4 #E4C17E #7EE4C1
tetradic
#C17EE4 #E48E7E #A1E47E #7ED4E4
square
#C17EE4 #E48E7E #A1E47E #7ED4E4
split-complementary
#C17EE4 #D4E47E #7EE48E
monochromatic
#8C28C0 #A94BD9 #C17EE4 #D9B1EF #F2E3F9

Accessibility & contrast

On white

2.85
#C17EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C17EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EE4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EE4#FFFFFF#000000##000000
##C17EE41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7B9BE1
Tritanopia (blue-blind)
#BE8DA6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17ee4;
/* rgb */ color: rgb(193, 126, 228);
/* oklch */ color: oklch(70.1% 0.159 313.2);
Tailwind
colors: {
  custom: {
    50: '#d5a5ed',
    500: '#c17ee4',
    950: '#000000',
  },
}
SCSS
$custom: #c17ee4;
$custom-light: #d5a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ee4",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 279.412,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.15895,
    "h": 313.2
  },
  "luminance": 0.31861
}

Semantic roles & 50–950 ramp

primary
#C17EE4
secondary
#DAEED0
accent
#CD1856
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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