#C17AFD#C17AFD
#C17AFD is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.194 H 307.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C17AFD |
|---|---|
| RGB | rgb(193, 122, 253) |
| HSL | hsl(273, 97%, 74%) |
| HSV | hsv(273, 52%, 99%) |
| CMYK | cmyk(23.7%, 51.8%, 0%, 0.8%) |
| CIE-LAB | lab(63.63, 51.25, -54.95) |
| CIE-LCH | lch(63.63, 75.14, 313.01°) |
| OKLab | oklab(70.79% 0.117 -0.1542) |
| OKLCH | oklch(70.79% 0.194 307.2) |
| XYZ | xyz(46.6779, 32.3489, 96.6944) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.22
Easter Purple
#C071FE
ΔE00 2.03
Light Urple
#B36FF6
ΔE00 3.66
Liliac
#C48EFD
ΔE00 4.80
Bright Lavender
#C760FF
ΔE00 5.25
Bright Lilac
#C95EFB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17AFD #B6FD7A
analogous
#7F7AFD #C17AFD #FD7AF8
triadic
#C17AFD #FDC17A #7AFDC1
tetradic
#C17AFD #FD7F7A #B6FD7A #7AF8FD
square
#C17AFD #FD7F7A #B6FD7A #7AF8FD
split-complementary
#C17AFD #F8FD7A #7AFD7F
monochromatic
#8904F9 #A53EFC #C17AFD #DDB6FE #F1E1FF
Accessibility & contrast
On white
2.81
#C17AFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C17AFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17AFD
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17AFD | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#B891B0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c17afd; /* rgb */ color: rgb(193, 122, 253); /* oklch */ color: oklch(70.8% 0.194 307.2);
Tailwind
colors: {
custom: {
50: '#d7a2ff',
500: '#c17afd',
950: '#000000',
},
}SCSS
$custom: #c17afd; $custom-light: #d7a2ff; $custom-dark: #000000;
JSON
{
"hex": "#c17afd",
"rgb": {
"r": 193,
"g": 122,
"b": 253
},
"hsl": {
"h": 272.519,
"s": 97.037,
"l": 73.529
},
"oklch": {
"l": 0.70788,
"c": 0.19355,
"h": 307.2
},
"luminance": 0.32348
}Semantic roles & 50–950 ramp
primary
#C17AFD
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86