#D182FF#D182FF
#D182FF is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.8% C 0.189 H 311.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D182FF |
|---|---|
| RGB | rgb(209, 130, 255) |
| HSL | hsl(278, 100%, 75%) |
| HSV | hsv(278, 49%, 100%) |
| CMYK | cmyk(18%, 49%, 0%, 0%) |
| CIE-LAB | lab(67.08, 51.67, -50.46) |
| CIE-LCH | lch(67.08, 72.22, 315.68°) |
| OKLab | oklab(73.77% 0.1257 -0.1408) |
| OKLCH | oklch(73.77% 0.189 311.8) |
| XYZ | xyz(52.3239, 36.7417, 98.9238) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.76
Light Purple
#BF77F6
ΔE00 4.05
Easter Purple
#C071FE
ΔE00 5.01
Baby Purple
#CA9BF7
ΔE00 6.53
Violet (CSS)
#EE82EE
ΔE00 6.96
Light Urple
#B36FF6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182FF #B0FF82
analogous
#9282FF #D182FF #FF82EE
triadic
#D182FF #FFD182 #82FFD1
tetradic
#D182FF #FF9282 #B0FF82 #82EEFF
square
#D182FF #FF9282 #B0FF82 #82EEFF
split-complementary
#D182FF #EEFF82 #82FF92
monochromatic
#A408FF #BA45FF #D182FF #E8BFFF #F4E0FF
Accessibility & contrast
On white
2.52
#D182FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#D182FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182FF
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182FF | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#CC96B5
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d182ff; /* rgb */ color: rgb(209, 130, 255); /* oklch */ color: oklch(73.8% 0.189 311.8);
Tailwind
colors: {
custom: {
50: '#e1a8ff',
500: '#d182ff',
950: '#000000',
},
}SCSS
$custom: #d182ff; $custom-light: #e1a8ff; $custom-dark: #000000;
JSON
{
"hex": "#d182ff",
"rgb": {
"r": 209,
"g": 130,
"b": 255
},
"hsl": {
"h": 277.92,
"s": 100,
"l": 75.49
},
"oklch": {
"l": 0.73767,
"c": 0.18874,
"h": 311.8
},
"luminance": 0.36741
}Semantic roles & 50–950 ramp
primary
#D182FF
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86