#D273F2#D273F2
#D273F2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.0% C 0.199 H 317.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D273F2 |
|---|---|
| RGB | rgb(210, 115, 242) |
| HSL | hsl(285, 83%, 70%) |
| HSV | hsv(285, 52%, 95%) |
| CMYK | cmyk(13.2%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.65, 56.86, -48.73) |
| CIE-LCH | lch(63.65, 74.89, 319.40°) |
| OKLab | oklab(71.05% 0.1454 -0.1356) |
| OKLCH | oklch(71.05% 0.199 317) |
| XYZ | xyz(48.7338, 32.3756, 87.6692) |
| Luminance | 0.3237 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.79
Easter Purple
#C071FE
ΔE00 4.37
Bright Lilac
#C95EFB
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 5.23
Orchid
#DA70D6
ΔE00 5.53
Heliotrope
#D94FF5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D273F2 #93F273
analogous
#9373F2 #D273F2 #F273D2
triadic
#D273F2 #F2D273 #73F2D2
tetradic
#D273F2 #F29373 #93F273 #73D2F2
square
#D273F2 #F29373 #93F273 #73D2F2
split-complementary
#D273F2 #D2F273 #73F293
monochromatic
#A614D7 #C03BED #D273F2 #E4ABF7 #F6E3FC
Accessibility & contrast
On white
2.81
#D273F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#D273F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D273F2
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D273F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D273F2 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D186A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d273f2; /* rgb */ color: rgb(210, 115, 242); /* oklch */ color: oklch(71.0% 0.199 317.0);
Tailwind
colors: {
custom: {
50: '#e29ff7',
500: '#d273f2',
950: '#000000',
},
}SCSS
$custom: #d273f2; $custom-light: #e29ff7; $custom-dark: #000000;
JSON
{
"hex": "#d273f2",
"rgb": {
"r": 210,
"g": 115,
"b": 242
},
"hsl": {
"h": 284.882,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.71049,
"c": 0.19882,
"h": 317
},
"luminance": 0.32374
}Semantic roles & 50–950 ramp
primary
#D273F2
secondary
#D8F2CF
accent
#DF063D
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85