#C17AF8#C17AF8

#C17AF8 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.5% C 0.188 H 308.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#C17AF8
RGBrgb(193, 122, 248)
HSLhsl(274, 90%, 73%)
HSVhsv(274, 51%, 97%)
CMYKcmyk(22.2%, 50.8%, 0%, 2.7%)
CIE-LABlab(63.37, 50.14, -52.61)
CIE-LCHlch(63.37, 72.67, 313.62°)
OKLaboklab(70.51% 0.1166 -0.1474)
OKLCHoklch(70.51% 0.188 308.3)
XYZxyz(45.8918, 32.0344, 92.5544)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17AF8 #B1F87A
analogous
#827AF8 #C17AF8 #F87AF0
triadic
#C17AF8 #F8C17A #7AF8C1
tetradic
#C17AF8 #F8827A #B1F87A #7AF0F8
square
#C17AF8 #F8827A #B1F87A #7AF0F8
split-complementary
#C17AF8 #F0F87A #7AF882
monochromatic
#8A0CEB #A640F5 #C17AF8 #DCB4FB #F1E2FD

Accessibility & contrast

On white

2.84
#C17AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#C17AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17AF8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17AF8#FFFFFF#000000##000000
##C17AF81.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#B990AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17af8;
/* rgb */ color: rgb(193, 122, 248);
/* oklch */ color: oklch(70.5% 0.188 308.3);
Tailwind
colors: {
  custom: {
    50: '#d6a2fb',
    500: '#c17af8',
    950: '#000000',
  },
}
SCSS
$custom: #c17af8;
$custom-light: #d6a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c17af8",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 273.81,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.18792,
    "h": 308.3
  },
  "luminance": 0.32034
}

Semantic roles & 50–950 ramp

primary
#C17AF8
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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