#A282F7#A282F7
#A282F7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.168 H 294.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A282F7 |
|---|---|
| RGB | rgb(162, 130, 247) |
| HSL | hsl(256, 88%, 74%) |
| HSV | hsv(256, 47%, 97%) |
| CMYK | cmyk(34.4%, 47.4%, 0%, 3.1%) |
| CIE-LAB | lab(61.96, 37.60, -54.48) |
| CIE-LCH | lch(61.96, 66.20, 304.61°) |
| OKLab | oklab(68.74% 0.0688 -0.1537) |
| OKLCH | oklch(68.74% 0.168 294.1) |
| XYZ | xyz(39.6671, 30.3613, 91.7481) |
| Luminance | 0.3036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.27
Lavender Blue
#8B88F8
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 5.86
Light Urple
#B36FF6
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 6.50
Mediumpurple
#9370DB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A282F7 #D7F782
analogous
#829DF7 #A282F7 #DD82F7
triadic
#A282F7 #F7A282 #82F7A2
tetradic
#A282F7 #F7829D #D7F782 #82F7DD
square
#A282F7 #F7829D #D7F782 #82F7DD
split-complementary
#A282F7 #F7DD82 #9DF782
monochromatic
#4D0FEF #7748F3 #A282F7 #CDBCFB #EAE2FD
Accessibility & contrast
On white
2.97
#A282F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#A282F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A282F7
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A282F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A282F7 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#8E99B1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a282f7; /* rgb */ color: rgb(162, 130, 247); /* oklch */ color: oklch(68.7% 0.168 294.1);
Tailwind
colors: {
custom: {
50: '#c1a7fa',
500: '#a282f7',
950: '#000000',
},
}SCSS
$custom: #a282f7; $custom-light: #c1a7fa; $custom-dark: #000000;
JSON
{
"hex": "#a282f7",
"rgb": {
"r": 162,
"g": 130,
"b": 247
},
"hsl": {
"h": 256.41,
"s": 87.97,
"l": 73.922
},
"oklch": {
"l": 0.68738,
"c": 0.16838,
"h": 294.1
},
"luminance": 0.30362
}Semantic roles & 50–950 ramp
primary
#A282F7
secondary
#EDF5D6
accent
#E501A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85