#C17AE1#C17AE1

#C17AE1 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.3% C 0.162 H 314.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C17AE1
RGBrgb(193, 122, 225)
HSLhsl(281, 63%, 68%)
HSVhsv(281, 46%, 88%)
CMYKcmyk(14.2%, 45.8%, 0%, 11.8%)
CIE-LABlab(62.25, 45.19, -41.64)
CIE-LCHlch(62.25, 61.45, 317.34°)
OKLaboklab(69.31% 0.1139 -0.1155)
OKLCHoklch(69.31% 0.162 314.6)
XYZxyz(42.5403, 30.6938, 74.9031)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AE1 #9AE17A
analogous
#8D7AE1 #C17AE1 #E17ACD
triadic
#C17AE1 #E1C17A #7AE1C1
tetradic
#C17AE1 #E18D7A #9AE17A #7ACDE1
square
#C17AE1 #E18D7A #9AE17A #7ACDE1
split-complementary
#C17AE1 #CDE17A #7AE18D
monochromatic
#8B29B7 #AA48D6 #C17AE1 #D8ACEC #F0DEF8

Accessibility & contrast

On white

2.94
#C17AE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C17AE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AE1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AE1#FFFFFF#000000##000000
##C17AE11.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E5
Deuteranopia (green-blind)
#7998DE
Tritanopia (blue-blind)
#BF89A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c17ae1;
/* rgb */ color: rgb(193, 122, 225);
/* oklch */ color: oklch(69.3% 0.162 314.6);
Tailwind
colors: {
  custom: {
    50: '#d5a2eb',
    500: '#c17ae1',
    950: '#000000',
  },
}
SCSS
$custom: #c17ae1;
$custom-light: #d5a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ae1",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 281.359,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.16221,
    "h": 314.6
  },
  "luminance": 0.30693
}

Semantic roles & 50–950 ramp

primary
#C17AE1
secondary
#D5EBCC
accent
#CB1B51
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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