#A23FE3#A23FE3
#A23FE3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.1% C 0.237 H 308.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A23FE3 |
|---|---|
| RGB | rgb(162, 63, 227) |
| HSL | hsl(276, 75%, 57%) |
| HSV | hsv(276, 72%, 89%) |
| CMYK | cmyk(28.6%, 72.2%, 0%, 11%) |
| CIE-LAB | lab(47.99, 66.66, -65.75) |
| CIE-LCH | lch(47.99, 93.63, 315.40°) |
| OKLab | oklab(58.14% 0.1466 -0.1866) |
| OKLCH | oklch(58.14% 0.237 308.2) |
| XYZ | xyz(30.5400, 16.7829, 74.2887) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.84
Lightish Purple
#A552E6
ΔE00 3.99
Bright Violet
#AD0AFD
ΔE00 4.41
Darkorchid
#9932CC
ΔE00 4.74
Neon Purple
#BC13FE
ΔE00 4.84
Bright Purple
#BE03FD
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23FE3 #80E33F
analogous
#503FE3 #A23FE3 #E33FD2
triadic
#A23FE3 #E3A23F #3FE3A2
tetradic
#A23FE3 #E3503F #80E33F #3FD2E3
square
#A23FE3 #E3503F #80E33F #3FD2E3
split-complementary
#A23FE3 #D2E33F #3FE350
monochromatic
#611592 #841DC8 #A23FE3 #BC74EB #D6AAF3
Accessibility & contrast
On white
4.82
#A23FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#A23FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23FE3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23FE3 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0173E0
Tritanopia (blue-blind)
#98658E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a23fe3; /* rgb */ color: rgb(162, 63, 227); /* oklch */ color: oklch(58.1% 0.237 308.2);
Tailwind
colors: {
custom: {
50: '#c37ded',
500: '#a23fe3',
950: '#000000',
},
}SCSS
$custom: #a23fe3; $custom-light: #c37ded; $custom-dark: #000000;
JSON
{
"hex": "#a23fe3",
"rgb": {
"r": 162,
"g": 63,
"b": 227
},
"hsl": {
"h": 276.22,
"s": 74.545,
"l": 56.863
},
"oklch": {
"l": 0.58135,
"c": 0.23724,
"h": 308.2
},
"luminance": 0.16782
}Semantic roles & 50–950 ramp
primary
#A23FE3
secondary
#B8E09D
accent
#F13781
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84