#C382FB#C382FB
#C382FB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.180 H 307.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C382FB |
|---|---|
| RGB | rgb(195, 130, 251) |
| HSL | hsl(272, 94%, 75%) |
| HSV | hsv(272, 48%, 98%) |
| CMYK | cmyk(22.3%, 48.2%, 0%, 1.6%) |
| CIE-LAB | lab(65.38, 47.10, -51.06) |
| CIE-LCH | lch(65.38, 69.46, 312.69°) |
| OKLab | oklab(72.1% 0.1087 -0.1428) |
| OKLCH | oklch(72.1% 0.18 307.3) |
| XYZ | xyz(47.8974, 34.5329, 95.3903) |
| Luminance | 0.3453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.69
Liliac
#C48EFD
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 3.98
Light Urple
#B36FF6
ΔE00 5.37
Baby Purple
#CA9BF7
ΔE00 6.53
Bright Lavender
#C760FF
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C382FB #BAFB82
analogous
#8782FB #C382FB #FB82F7
triadic
#C382FB #FBC382 #82FBC3
tetradic
#C382FB #FB8782 #BAFB82 #82F7FB
square
#C382FB #FB8782 #BAFB82 #82F7FB
split-complementary
#C382FB #F7FB82 #82FB87
monochromatic
#8A0BF7 #A747F9 #C382FB #DFBDFD #F1E1FE
Accessibility & contrast
On white
2.66
#C382FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#C382FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C382FB
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C382FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C382FB | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#BB97B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c382fb; /* rgb */ color: rgb(195, 130, 251); /* oklch */ color: oklch(72.1% 0.180 307.3);
Tailwind
colors: {
custom: {
50: '#d7a8fd',
500: '#c382fb',
950: '#000000',
},
}SCSS
$custom: #c382fb; $custom-light: #d7a8fd; $custom-dark: #000000;
JSON
{
"hex": "#c382fb",
"rgb": {
"r": 195,
"g": 130,
"b": 251
},
"hsl": {
"h": 272.231,
"s": 93.798,
"l": 74.706
},
"oklch": {
"l": 0.72103,
"c": 0.17951,
"h": 307.3
},
"luminance": 0.34532
}Semantic roles & 50–950 ramp
primary
#C382FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86