#C17AEC#C17AEC

#C17AEC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.174 H 311.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C17AEC
RGBrgb(193, 122, 236)
HSLhsl(277, 75%, 70%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.2%, 48.3%, 0%, 7.5%)
CIE-LABlab(62.77, 47.52, -46.93)
CIE-LCHlch(62.77, 66.79, 315.36°)
OKLaboklab(69.87% 0.1153 -0.1309)
OKLCHoklch(69.87% 0.174 311.4)
XYZxyz(44.0895, 31.3135, 83.0621)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AEC #A5EC7A
analogous
#887AEC #C17AEC #EC7ADE
triadic
#C17AEC #ECC17A #7AECC1
tetradic
#C17AEC #EC887A #A5EC7A #7ADEEC
square
#C17AEC #EC887A #A5EC7A #7ADEEC
split-complementary
#C17AEC #DEEC7A #7AEC88
monochromatic
#8B1DCE #A844E4 #C17AEC #DAB0F4 #F3E4FB

Accessibility & contrast

On white

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

On black

7.26
#C17AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AEC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AEC#FFFFFF#000000##000000
##C17AEC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#BC8CA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17aec;
/* rgb */ color: rgb(193, 122, 236);
/* oklch */ color: oklch(69.9% 0.174 311.4);
Tailwind
colors: {
  custom: {
    50: '#d6a2f2',
    500: '#c17aec',
    950: '#000000',
  },
}
SCSS
$custom: #c17aec;
$custom-light: #d6a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aec",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 277.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69872,
    "c": 0.17444,
    "h": 311.4
  },
  "luminance": 0.31313
}

Semantic roles & 50–950 ramp

primary
#C17AEC
secondary
#DDF1D1
accent
#D70E5A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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