#A282F9#A282F9
#A282F9 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.171 H 293.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A282F9 |
|---|---|
| RGB | rgb(162, 130, 249) |
| HSL | hsl(256, 91%, 74%) |
| HSV | hsv(256, 48%, 98%) |
| CMYK | cmyk(34.9%, 47.8%, 0%, 2.4%) |
| CIE-LAB | lab(62.07, 38.11, -55.41) |
| CIE-LCH | lch(62.07, 67.26, 304.52°) |
| OKLab | oklab(68.85% 0.069 -0.1564) |
| OKLCH | oklch(68.85% 0.171 293.8) |
| XYZ | xyz(39.9774, 30.4854, 93.3822) |
| Luminance | 0.3049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.13
Lavender Blue
#8B88F8
ΔE00 5.34
Perrywinkle
#8F8CE7
ΔE00 5.93
Light Urple
#B36FF6
ΔE00 6.05
Light Purple
#BF77F6
ΔE00 6.57
Mediumpurple
#9370DB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A282F9 #D9F982
analogous
#829EF9 #A282F9 #DD82F9
triadic
#A282F9 #F9A282 #82F9A2
tetradic
#A282F9 #F9829E #D9F982 #82F9DD
square
#A282F9 #F9829E #D9F982 #82F9DD
split-complementary
#A282F9 #F9DD82 #9EF982
monochromatic
#4B0DF3 #7748F6 #A282F9 #CDBCFC #E9E2FE
Accessibility & contrast
On white
2.96
#A282F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#A282F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A282F9
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A282F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A282F9 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#8D99B2
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a282f9; /* rgb */ color: rgb(162, 130, 249); /* oklch */ color: oklch(68.9% 0.171 293.8);
Tailwind
colors: {
custom: {
50: '#c1a7fc',
500: '#a282f9',
950: '#000000',
},
}SCSS
$custom: #a282f9; $custom-light: #c1a7fc; $custom-dark: #000000;
JSON
{
"hex": "#a282f9",
"rgb": {
"r": 162,
"g": 130,
"b": 249
},
"hsl": {
"h": 256.134,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.68852,
"c": 0.17096,
"h": 293.8
},
"luminance": 0.30486
}Semantic roles & 50–950 ramp
primary
#A282F9
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85