#C17AED#C17AED

#C17AED is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.176 H 311.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C17AED
RGBrgb(193, 122, 237)
HSLhsl(277, 76%, 70%)
HSVhsv(277, 49%, 93%)
CMYKcmyk(18.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(62.82, 47.74, -47.41)
CIE-LCHlch(62.82, 67.28, 315.20°)
OKLaboklab(69.93% 0.1155 -0.1322)
OKLCHoklch(69.93% 0.176 311.1)
XYZxyz(44.2352, 31.3718, 83.8294)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AED #A6ED7A
analogous
#877AED #C17AED #ED7AE0
triadic
#C17AED #EDC17A #7AEDC1
tetradic
#C17AED #ED877A #A6ED7A #7AE0ED
square
#C17AED #ED877A #A6ED7A #7AE0ED
split-complementary
#C17AED #E0ED7A #7AED87
monochromatic
#8B1CD0 #A844E6 #C17AED #DAB0F4 #F2E4FB

Accessibility & contrast

On white

2.89
#C17AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C17AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AED
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AED#FFFFFF#000000##000000
##C17AED1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#BC8DA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17aed;
/* rgb */ color: rgb(193, 122, 237);
/* oklch */ color: oklch(69.9% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#d6a2f3',
    500: '#c17aed',
    950: '#000000',
  },
}
SCSS
$custom: #c17aed;
$custom-light: #d6a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aed",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 277.043,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.17556,
    "h": 311.1
  },
  "luminance": 0.31371
}

Semantic roles & 50–950 ramp

primary
#C17AED
secondary
#DEF1D2
accent
#D80D5B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AED

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

Preview Lab → · Contrast checker → · Palette generator →

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