#DF7CF2#DF7CF2
#DF7CF2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.191 H 321.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #DF7CF2 |
|---|---|
| RGB | rgb(223, 124, 242) |
| HSL | hsl(290, 82%, 72%) |
| HSV | hsv(290, 49%, 95%) |
| CMYK | cmyk(7.9%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(66.91, 55.87, -43.49) |
| CIE-LCH | lch(66.91, 70.81, 322.10°) |
| OKLab | oklab(73.79% 0.1484 -0.1202) |
| OKLCH | oklch(73.79% 0.191 321) |
| XYZ | xyz(53.6642, 36.5163, 88.2088) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.55
Purply Pink
#F075E6
ΔE00 4.17
Orchid
#DA70D6
ΔE00 4.93
Light Magenta
#FA5FF7
ΔE00 5.47
Violet Pink
#FB5FFC
ΔE00 5.49
Lavender Pink
#DD85D7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF7CF2 #8FF27C
analogous
#A47CF2 #DF7CF2 #F27CCA
triadic
#DF7CF2 #F2DF7C #7CF2DF
tetradic
#DF7CF2 #F2A47C #8FF27C #7CCAF2
square
#DF7CF2 #F2A47C #8FF27C #7CCAF2
split-complementary
#DF7CF2 #CAF27C #7CF2A4
monochromatic
#BD16DE #D144EC #DF7CF2 #EDB4F8 #F8E3FC
Accessibility & contrast
On white
2.53
#DF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#DF7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF7CF2
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF7CF2 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#E18CAC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #df7cf2; /* rgb */ color: rgb(223, 124, 242); /* oklch */ color: oklch(73.8% 0.191 321.0);
Tailwind
colors: {
custom: {
50: '#eba5f7',
500: '#df7cf2',
950: '#000000',
},
}SCSS
$custom: #df7cf2; $custom-light: #eba5f7; $custom-dark: #000000;
JSON
{
"hex": "#df7cf2",
"rgb": {
"r": 223,
"g": 124,
"b": 242
},
"hsl": {
"h": 290.339,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.73793,
"c": 0.191,
"h": 321
},
"luminance": 0.36514
}Semantic roles & 50–950 ramp
primary
#DF7CF2
secondary
#DBF4D6
accent
#DE072A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85