#C17EE3#C17EE3

#C17EE3 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.158 H 313.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C17EE3
RGBrgb(193, 126, 227)
HSLhsl(280, 64%, 69%)
HSVhsv(280, 44%, 89%)
CMYKcmyk(15%, 44.5%, 0%, 11%)
CIE-LABlab(63.18, 43.47, -41.29)
CIE-LCHlch(63.18, 59.96, 316.47°)
OKLaboklab(70.04% 0.1086 -0.1145)
OKLCHoklch(70.04% 0.158 313.5)
XYZxyz(43.3160, 31.8062, 76.5155)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EE3 #A0E37E
analogous
#8F7EE3 #C17EE3 #E37ED3
triadic
#C17EE3 #E3C17E #7EE3C1
tetradic
#C17EE3 #E38F7E #A0E37E #7ED3E3
square
#C17EE3 #E38F7E #A0E37E #7ED3E3
split-complementary
#C17EE3 #D3E37E #7EE38F
monochromatic
#8C29BD #A94CD8 #C17EE3 #D9B0EE #F1E3F9

Accessibility & contrast

On white

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

On black

7.36
#C17EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EE3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EE3#FFFFFF#000000##000000
##C17EE31.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#BE8DA6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17ee3;
/* rgb */ color: rgb(193, 126, 227);
/* oklch */ color: oklch(70.0% 0.158 313.5);
Tailwind
colors: {
  custom: {
    50: '#d5a5ec',
    500: '#c17ee3',
    950: '#000000',
  },
}
SCSS
$custom: #c17ee3;
$custom-light: #d5a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ee3",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 279.802,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7004,
    "c": 0.15783,
    "h": 313.5
  },
  "luminance": 0.31805
}

Semantic roles & 50–950 ramp

primary
#C17EE3
secondary
#DAEDD0
accent
#CC1956
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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