#A283F2#A283F2
#A283F2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.160 H 294.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A283F2 |
|---|---|
| RGB | rgb(162, 131, 242) |
| HSL | hsl(257, 81%, 73%) |
| HSV | hsv(257, 46%, 95%) |
| CMYK | cmyk(33.1%, 45.9%, 0%, 5.1%) |
| CIE-LAB | lab(61.93, 35.75, -51.78) |
| CIE-LCH | lch(61.93, 62.92, 304.63°) |
| OKLab | oklab(68.63% 0.067 -0.1458) |
| OKLCH | oklch(68.63% 0.16 294.7) |
| XYZ | xyz(39.0395, 30.3241, 87.7835) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.68
Perrywinkle
#8F8CE7
ΔE00 5.55
Lavender Blue
#8B88F8
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 6.22
Mediumpurple
#9370DB
ΔE00 6.38
Light Purple
#BF77F6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A283F2 #D3F283
analogous
#839BF2 #A283F2 #DA83F2
triadic
#A283F2 #F2A283 #83F2A2
tetradic
#A283F2 #F2839B #D3F283 #83F2DA
square
#A283F2 #F2839B #D3F283 #83F2DA
split-complementary
#A283F2 #F2DA83 #9BF283
monochromatic
#5018E3 #784CEC #A283F2 #CCBAF8 #EAE3FC
Accessibility & contrast
On white
2.97
#A283F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#A283F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A283F2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A283F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A283F2 | 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)
#5E97F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9098AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a283f2; /* rgb */ color: rgb(162, 131, 242); /* oklch */ color: oklch(68.6% 0.160 294.7);
Tailwind
colors: {
custom: {
50: '#c0a7f7',
500: '#a283f2',
950: '#000000',
},
}SCSS
$custom: #a283f2; $custom-light: #c0a7f7; $custom-dark: #000000;
JSON
{
"hex": "#a283f2",
"rgb": {
"r": 162,
"g": 131,
"b": 242
},
"hsl": {
"h": 256.757,
"s": 81.022,
"l": 73.137
},
"oklch": {
"l": 0.68629,
"c": 0.1604,
"h": 294.7
},
"luminance": 0.30325
}Semantic roles & 50–950 ramp
primary
#A283F2
secondary
#ECF4D7
accent
#DD08A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85