#C17BFD#C17BFD
#C17BFD is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.9% C 0.192 H 307.0°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C17BFD |
|---|---|
| RGB | rgb(193, 123, 253) |
| HSL | hsl(272, 97%, 74%) |
| HSV | hsv(272, 51%, 99%) |
| CMYK | cmyk(23.7%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(63.83, 50.73, -54.63) |
| CIE-LCH | lch(63.83, 74.55, 312.88°) |
| OKLab | oklab(70.94% 0.1157 -0.1533) |
| OKLCH | oklch(70.94% 0.192 307) |
| XYZ | xyz(46.8013, 32.5957, 96.7355) |
| Luminance | 0.3260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.36
Easter Purple
#C071FE
ΔE00 2.25
Light Urple
#B36FF6
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.57
Bright Lavender
#C760FF
ΔE00 5.48
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17BFD #B7FD7B
analogous
#807BFD #C17BFD #FD7BF8
triadic
#C17BFD #FDC17B #7BFDC1
tetradic
#C17BFD #FD807B #B7FD7B #7BF8FD
square
#C17BFD #FD807B #B7FD7B #7BF8FD
split-complementary
#C17BFD #F8FD7B #7BFD80
monochromatic
#8804FA #A53FFC #C17BFD #DDB7FE #F1E1FF
Accessibility & contrast
On white
2.79
#C17BFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#C17BFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17BFD
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17BFD | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#B892B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c17bfd; /* rgb */ color: rgb(193, 123, 253); /* oklch */ color: oklch(70.9% 0.192 307.0);
Tailwind
colors: {
custom: {
50: '#d6a3fe',
500: '#c17bfd',
950: '#000000',
},
}SCSS
$custom: #c17bfd; $custom-light: #d6a3fe; $custom-dark: #000000;
JSON
{
"hex": "#c17bfd",
"rgb": {
"r": 193,
"g": 123,
"b": 253
},
"hsl": {
"h": 272.308,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.70937,
"c": 0.19203,
"h": 307
},
"luminance": 0.32595
}Semantic roles & 50–950 ramp
primary
#C17BFD
secondary
#E4F7D4
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86