#A23FE2#A23FE2
#A23FE2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.1% C 0.236 H 308.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A23FE2 |
|---|---|
| RGB | rgb(162, 63, 226) |
| HSL | hsl(276, 74%, 57%) |
| HSV | hsv(276, 72%, 89%) |
| CMYK | cmyk(28.3%, 72.1%, 0%, 11.4%) |
| CIE-LAB | lab(47.92, 66.45, -65.30) |
| CIE-LCH | lch(47.92, 93.16, 315.50°) |
| OKLab | oklab(58.06% 0.1467 -0.1852) |
| OKLCH | oklch(58.06% 0.236 308.4) |
| XYZ | xyz(30.4024, 16.7279, 73.5640) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.94
Lightish Purple
#A552E6
ΔE00 4.04
Bright Violet
#AD0AFD
ΔE00 4.48
Darkorchid
#9932CC
ΔE00 4.63
Neon Purple
#BC13FE
ΔE00 4.91
Vibrant Purple
#AD03DE
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23FE2 #7FE23F
analogous
#513FE2 #A23FE2 #E23FD0
triadic
#A23FE2 #E2A23F #3FE2A2
tetradic
#A23FE2 #E2513F #7FE23F #3FD0E2
square
#A23FE2 #E2513F #7FE23F #3FD0E2
split-complementary
#A23FE2 #D0E23F #3FE251
monochromatic
#601691 #841EC6 #A23FE2 #BC74EA #D6A9F2
Accessibility & contrast
On white
4.83
#A23FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#A23FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23FE2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23FE2 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0773DF
Tritanopia (blue-blind)
#98658D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a23fe2; /* rgb */ color: rgb(162, 63, 226); /* oklch */ color: oklch(58.1% 0.236 308.4);
Tailwind
colors: {
custom: {
50: '#c37dec',
500: '#a23fe2',
950: '#000000',
},
}SCSS
$custom: #a23fe2; $custom-light: #c37dec; $custom-dark: #000000;
JSON
{
"hex": "#a23fe2",
"rgb": {
"r": 162,
"g": 63,
"b": 226
},
"hsl": {
"h": 276.442,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.58064,
"c": 0.2363,
"h": 308.4
},
"luminance": 0.16727
}Semantic roles & 50–950 ramp
primary
#A23FE2
secondary
#B7E09D
accent
#F03780
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84