#A258F2#A258F2
#A258F2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.222 H 302.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A258F2 |
|---|---|
| RGB | rgb(162, 88, 242) |
| HSL | hsl(269, 86%, 65%) |
| HSV | hsv(269, 64%, 95%) |
| CMYK | cmyk(33.1%, 63.6%, 0%, 5.1%) |
| CIE-LAB | lab(53.03, 58.84, -66.03) |
| CIE-LCH | lch(53.03, 88.44, 311.70°) |
| OKLab | oklab(62.06% 0.1192 -0.1875) |
| OKLCH | oklch(62.06% 0.222 302.4) |
| XYZ | xyz(34.4133, 21.0716, 86.2414) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 0.82
Lightish Purple
#A552E6
ΔE00 2.38
Purpley
#8756E4
ΔE00 5.23
Light Urple
#B36FF6
ΔE00 6.47
Mediumpurple
#9370DB
ΔE00 6.89
Bright Lavender
#C760FF
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A258F2 #A8F258
analogous
#585BF2 #A258F2 #EF58F2
triadic
#A258F2 #F2A258 #58F2A2
tetradic
#A258F2 #F2585B #A8F258 #58F2EF
square
#A258F2 #F2585B #A8F258 #58F2EF
split-complementary
#A258F2 #F2EF58 #5BF258
monochromatic
#640FC1 #821FEE #A258F2 #C291F6 #E1CAFB
Accessibility & contrast
On white
4.03
#A258F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#A258F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A258F2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A258F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A258F2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#927A9D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a258f2; /* rgb */ color: rgb(162, 88, 242); /* oklch */ color: oklch(62.1% 0.222 302.4);
Tailwind
colors: {
custom: {
50: '#c38bf7',
500: '#a258f2',
950: '#000000',
},
}SCSS
$custom: #a258f2; $custom-light: #c38bf7; $custom-dark: #000000;
JSON
{
"hex": "#a258f2",
"rgb": {
"r": 162,
"g": 88,
"b": 242
},
"hsl": {
"h": 268.831,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.62063,
"c": 0.22219,
"h": 302.4
},
"luminance": 0.21072
}Semantic roles & 50–950 ramp
primary
#A258F2
secondary
#D4EDB8
accent
#E20377
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85