#C17AEF#C17AEF

#C17AEF is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.178 H 310.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#C17AEF
RGBrgb(193, 122, 239)
HSLhsl(276, 79%, 71%)
HSVhsv(276, 49%, 94%)
CMYKcmyk(19.2%, 49%, 0%, 6.3%)
CIE-LABlab(62.92, 48.17, -48.36)
CIE-LCHlch(62.92, 68.26, 314.89°)
OKLaboklab(70.03% 0.1157 -0.135)
OKLCHoklch(70.03% 0.178 310.6)
XYZxyz(44.5290, 31.4893, 85.3769)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AEF #A8EF7A
analogous
#867AEF #C17AEF #EF7AE2
triadic
#C17AEF #EFC17A #7AEFC1
tetradic
#C17AEF #EF867A #A8EF7A #7AE2EF
square
#C17AEF #EF867A #A8EF7A #7AE2EF
split-complementary
#C17AEF #E2EF7A #7AEF86
monochromatic
#8B1AD5 #A843E8 #C17AEF #DAB1F6 #F2E4FC

Accessibility & contrast

On white

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

On black

7.30
#C17AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AEF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AEF#FFFFFF#000000##000000
##C17AEF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#719AEC
Tritanopia (blue-blind)
#BC8DAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c17aef;
/* rgb */ color: rgb(193, 122, 239);
/* oklch */ color: oklch(70.0% 0.178 310.6);
Tailwind
colors: {
  custom: {
    50: '#d6a2f5',
    500: '#c17aef',
    950: '#000000',
  },
}
SCSS
$custom: #c17aef;
$custom-light: #d6a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c17aef",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 276.41,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7003,
    "c": 0.1778,
    "h": 310.6
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#C17AEF
secondary
#DFF2D3
accent
#DB0B5D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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