#C17BF2#C17BF2
#C17BF2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.180 H 309.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C17BF2 |
|---|---|
| RGB | rgb(193, 123, 242) |
| HSL | hsl(275, 82%, 72%) |
| HSV | hsv(275, 49%, 95%) |
| CMYK | cmyk(20.2%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(63.27, 48.29, -49.46) |
| CIE-LCH | lch(63.27, 69.13, 314.32°) |
| OKLab | oklab(70.34% 0.1147 -0.1382) |
| OKLCH | oklch(70.34% 0.18 309.7) |
| XYZ | xyz(45.0993, 31.9149, 87.7716) |
| Luminance | 0.3191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.31
Easter Purple
#C071FE
ΔE00 3.01
Light Urple
#B36FF6
ΔE00 4.19
Liliac
#C48EFD
ΔE00 4.73
Bright Lavender
#C760FF
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17BF2 #ACF27B
analogous
#867BF2 #C17BF2 #F27BE8
triadic
#C17BF2 #F2C17B #7BF2C1
tetradic
#C17BF2 #F2867B #ACF27B #7BE8F2
square
#C17BF2 #F2867B #ACF27B #7BE8F2
split-complementary
#C17BF2 #E8F27B #7BF286
monochromatic
#8B16DD #A743ED #C17BF2 #DBB3F7 #F2E3FC
Accessibility & contrast
On white
2.84
#C17BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#C17BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17BF2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17BF2 | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#BB8FAB
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c17bf2; /* rgb */ color: rgb(193, 123, 242); /* oklch */ color: oklch(70.3% 0.180 309.7);
Tailwind
colors: {
custom: {
50: '#d6a3f7',
500: '#c17bf2',
950: '#000000',
},
}SCSS
$custom: #c17bf2; $custom-light: #d6a3f7; $custom-dark: #000000;
JSON
{
"hex": "#c17bf2",
"rgb": {
"r": 193,
"g": 123,
"b": 242
},
"hsl": {
"h": 275.294,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.70341,
"c": 0.17959,
"h": 309.7
},
"luminance": 0.31914
}Semantic roles & 50–950 ramp
primary
#C17BF2
secondary
#E2F4D5
accent
#DE0760
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85