#E272E7#E272E7
#E272E7 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.3% C 0.198 H 325.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E272E7 |
|---|---|
| RGB | rgb(226, 114, 231) |
| HSL | hsl(297, 71%, 68%) |
| HSV | hsv(297, 51%, 91%) |
| CMYK | cmyk(2.2%, 50.6%, 0%, 9.4%) |
| CIE-LAB | lab(64.94, 59.53, -40.47) |
| CIE-LCH | lch(64.94, 71.99, 325.79°) |
| OKLab | oklab(72.25% 0.1637 -0.1114) |
| OKLCH | oklch(72.25% 0.198 325.8) |
| XYZ | xyz(51.8040, 33.9756, 79.4151) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.76
Purply Pink
#F075E6
ΔE00 2.81
Violet (CSS)
#EE82EE
ΔE00 4.01
Light Magenta
#FA5FF7
ΔE00 4.18
Violet Pink
#FB5FFC
ΔE00 4.51
Candy Pink
#FF63E9
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E272E7 #77E772
analogous
#A872E7 #E272E7 #E772B1
triadic
#E272E7 #E7E272 #72E7E2
tetradic
#E272E7 #E7A872 #77E772 #72B1E7
square
#E272E7 #E7A872 #77E772 #72B1E7
split-complementary
#E272E7 #B1E772 #72E7A8
monochromatic
#B720BE #D73EDE #E272E7 #EDA6F0 #F8DBF9
Accessibility & contrast
On white
2.69
#E272E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#E272E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E272E7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E272E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E272E7 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#E780A2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #e272e7; /* rgb */ color: rgb(226, 114, 231); /* oklch */ color: oklch(72.3% 0.198 325.8);
Tailwind
colors: {
custom: {
50: '#ed9fef',
500: '#e272e7',
950: '#000000',
},
}SCSS
$custom: #e272e7; $custom-light: #ed9fef; $custom-dark: #000000;
JSON
{
"hex": "#e272e7",
"rgb": {
"r": 226,
"g": 114,
"b": 231
},
"hsl": {
"h": 297.436,
"s": 70.909,
"l": 67.647
},
"oklch": {
"l": 0.72254,
"c": 0.19801,
"h": 325.8
},
"luminance": 0.33973
}Semantic roles & 50–950 ramp
primary
#E272E7
secondary
#CAEDC8
accent
#D3131B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84