#A255F3#A255F3
#A255F3 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.227 H 302.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A255F3 |
|---|---|
| RGB | rgb(162, 85, 243) |
| HSL | hsl(269, 87%, 64%) |
| HSV | hsv(269, 65%, 95%) |
| CMYK | cmyk(33.3%, 65%, 0%, 4.7%) |
| CIE-LAB | lab(52.56, 60.52, -67.34) |
| CIE-LCH | lch(52.56, 90.54, 311.95°) |
| OKLab | oklab(61.75% 0.1223 -0.1913) |
| OKLCH | oklch(61.75% 0.227 302.6) |
| XYZ | xyz(34.3227, 20.6494, 86.9542) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.33
Lightish Purple
#A552E6
ΔE00 2.17
Purpley
#8756E4
ΔE00 5.07
Electric Purple
#AA23FF
ΔE00 6.63
Neon Purple
#BC13FE
ΔE00 7.00
Light Urple
#B36FF6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A255F3 #A6F355
analogous
#5557F3 #A255F3 #F155F3
triadic
#A255F3 #F3A255 #55F3A2
tetradic
#A255F3 #F35557 #A6F355 #55F3F1
square
#A255F3 #F35557 #A6F355 #55F3F1
split-complementary
#A255F3 #F3F155 #57F355
monochromatic
#650EC0 #831CEF #A255F3 #C18EF7 #E1C7FB
Accessibility & contrast
On white
4.09
#A255F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#A255F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A255F3
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A255F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A255F3 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#137DF0
Tritanopia (blue-blind)
#92789D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a255f3; /* rgb */ color: rgb(162, 85, 243); /* oklch */ color: oklch(61.7% 0.227 302.6);
Tailwind
colors: {
custom: {
50: '#c389f8',
500: '#a255f3',
950: '#000000',
},
}SCSS
$custom: #a255f3; $custom-light: #c389f8; $custom-dark: #000000;
JSON
{
"hex": "#a255f3",
"rgb": {
"r": 162,
"g": 85,
"b": 243
},
"hsl": {
"h": 269.241,
"s": 86.813,
"l": 64.314
},
"oklch": {
"l": 0.61749,
"c": 0.22711,
"h": 302.6
},
"luminance": 0.20649
}Semantic roles & 50–950 ramp
primary
#A255F3
secondary
#D3EDB6
accent
#E30276
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85