#C17AEE#C17AEE

#C17AEE is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.177 H 310.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C17AEE
RGBrgb(193, 122, 238)
HSLhsl(277, 77%, 71%)
HSVhsv(277, 49%, 93%)
CMYKcmyk(18.9%, 48.7%, 0%, 6.7%)
CIE-LABlab(62.87, 47.95, -47.88)
CIE-LCHlch(62.87, 67.77, 315.04°)
OKLaboklab(69.98% 0.1156 -0.1336)
OKLCHoklch(69.98% 0.177 310.9)
XYZxyz(44.3817, 31.4304, 84.6010)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AEE #A7EE7A
analogous
#877AEE #C17AEE #EE7AE1
triadic
#C17AEE #EEC17A #7AEEC1
tetradic
#C17AEE #EE877A #A7EE7A #7AE1EE
square
#C17AEE #EE877A #A7EE7A #7AE1EE
split-complementary
#C17AEE #E1EE7A #7AEE87
monochromatic
#8B1BD3 #A844E7 #C17AEE #DAB0F5 #F2E4FC

Accessibility & contrast

On white

2.88
#C17AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C17AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AEE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AEE#FFFFFF#000000##000000
##C17AEE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#BC8DA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17aee;
/* rgb */ color: rgb(193, 122, 238);
/* oklch */ color: oklch(70.0% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#d6a2f4',
    500: '#c17aee',
    950: '#000000',
  },
}
SCSS
$custom: #c17aee;
$custom-light: #d6a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aee",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 276.724,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69977,
    "c": 0.17668,
    "h": 310.9
  },
  "luminance": 0.3143
}

Semantic roles & 50–950 ramp

primary
#C17AEE
secondary
#DEF2D2
accent
#DA0C5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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