#C17BFB#C17BFB
#C17BFB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.8% C 0.190 H 307.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C17BFB |
|---|---|
| RGB | rgb(193, 123, 251) |
| HSL | hsl(273, 94%, 73%) |
| HSV | hsv(273, 51%, 98%) |
| CMYK | cmyk(23.1%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(63.73, 50.28, -53.69) |
| CIE-LCH | lch(63.73, 73.56, 313.12°) |
| OKLab | oklab(70.83% 0.1155 -0.1505) |
| OKLCH | oklch(70.83% 0.19 307.5) |
| XYZ | xyz(46.4844, 32.4689, 95.0664) |
| Luminance | 0.3247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.17
Easter Purple
#C071FE
ΔE00 2.31
Light Urple
#B36FF6
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.55
Bright Lavender
#C760FF
ΔE00 5.49
Bright Lilac
#C95EFB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17BFB #B5FB7B
analogous
#817BFB #C17BFB #FB7BF5
triadic
#C17BFB #FBC17B #7BFBC1
tetradic
#C17BFB #FB817B #B5FB7B #7BF5FB
square
#C17BFB #FB817B #B5FB7B #7BF5FB
split-complementary
#C17BFB #F5FB7B #7BFB81
monochromatic
#8907F4 #A540F9 #C17BFB #DDB6FD #F1E1FE
Accessibility & contrast
On white
2.80
#C17BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#C17BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17BFB
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17BFB | 1.00 | 2.80 | 7.49 | 7.49 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#B891B0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c17bfb; /* rgb */ color: rgb(193, 123, 251); /* oklch */ color: oklch(70.8% 0.190 307.5);
Tailwind
colors: {
custom: {
50: '#d6a3fd',
500: '#c17bfb',
950: '#000000',
},
}SCSS
$custom: #c17bfb; $custom-light: #d6a3fd; $custom-dark: #000000;
JSON
{
"hex": "#c17bfb",
"rgb": {
"r": 193,
"g": 123,
"b": 251
},
"hsl": {
"h": 272.813,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.70827,
"c": 0.18976,
"h": 307.5
},
"luminance": 0.32468
}Semantic roles & 50–950 ramp
primary
#C17BFB
secondary
#E4F6D5
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86