#C17BFE#C17BFE
#C17BFE is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.193 H 306.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C17BFE |
|---|---|
| RGB | rgb(193, 123, 254) |
| HSL | hsl(272, 98%, 74%) |
| HSV | hsv(272, 52%, 100%) |
| CMYK | cmyk(24%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(63.88, 50.95, -55.09) |
| CIE-LCH | lch(63.88, 75.04, 312.76°) |
| OKLab | oklab(70.99% 0.1158 -0.1546) |
| OKLCH | oklch(70.99% 0.193 306.8) |
| XYZ | xyz(46.9610, 32.6596, 97.5767) |
| Luminance | 0.3266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.46
Easter Purple
#C071FE
ΔE00 2.24
Light Urple
#B36FF6
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.59
Bright Lavender
#C760FF
ΔE00 5.48
Bright Lilac
#C95EFB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17BFE #B8FE7B
analogous
#807BFE #C17BFE #FE7BFA
triadic
#C17BFE #FEC17B #7BFEC1
tetradic
#C17BFE #FE807B #B8FE7B #7BFAFE
square
#C17BFE #FE807B #B8FE7B #7BFAFE
split-complementary
#C17BFE #FAFE7B #7BFE80
monochromatic
#8802FD #A43EFE #C17BFE #DEB8FE #F1E1FF
Accessibility & contrast
On white
2.79
#C17BFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#C17BFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17BFE
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17BFE | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#699BFB
Tritanopia (blue-blind)
#B892B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c17bfe; /* rgb */ color: rgb(193, 123, 254); /* oklch */ color: oklch(71.0% 0.193 306.8);
Tailwind
colors: {
custom: {
50: '#d7a3ff',
500: '#c17bfe',
950: '#000000',
},
}SCSS
$custom: #c17bfe; $custom-light: #d7a3ff; $custom-dark: #000000;
JSON
{
"hex": "#c17bfe",
"rgb": {
"r": 193,
"g": 123,
"b": 254
},
"hsl": {
"h": 272.061,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.70993,
"c": 0.19316,
"h": 306.8
},
"luminance": 0.32659
}Semantic roles & 50–950 ramp
primary
#C17BFE
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86