#A268EF#A268EF
#A268EF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.197 H 300.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A268EF |
|---|---|
| RGB | rgb(162, 104, 239) |
| HSL | hsl(266, 81%, 67%) |
| HSV | hsv(266, 56%, 94%) |
| CMYK | cmyk(32.2%, 56.5%, 0%, 6.3%) |
| CIE-LAB | lab(55.90, 49.92, -59.73) |
| CIE-LCH | lch(55.90, 77.85, 309.88°) |
| OKLab | oklab(64.09% 0.1008 -0.169) |
| OKLCH | oklch(64.09% 0.197 300.8) |
| XYZ | xyz(35.4269, 23.8138, 84.3747) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 3.65
Mediumpurple
#9370DB
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 5.36
Easter Purple
#C071FE
ΔE00 5.98
Bright Lavender
#C760FF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A268EF #B5EF68
analogous
#6872EF #A268EF #E668EF
triadic
#A268EF #EFA268 #68EFA2
tetradic
#A268EF #EF6872 #B5EF68 #68EFE6
square
#A268EF #EF6872 #B5EF68 #68EFE6
split-complementary
#A268EF #EFE668 #72EF68
monochromatic
#6215C7 #8031E9 #A268EF #C49FF5 #E6D7FB
Accessibility & contrast
On white
3.64
#A268EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#A268EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A268EF
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A268EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A268EF | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#9283A2
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a268ef; /* rgb */ color: rgb(162, 104, 239); /* oklch */ color: oklch(64.1% 0.197 300.8);
Tailwind
colors: {
custom: {
50: '#c295f5',
500: '#a268ef',
950: '#000000',
},
}SCSS
$custom: #a268ef; $custom-light: #c295f5; $custom-dark: #000000;
JSON
{
"hex": "#a268ef",
"rgb": {
"r": 162,
"g": 104,
"b": 239
},
"hsl": {
"h": 265.778,
"s": 80.838,
"l": 67.255
},
"oklch": {
"l": 0.64094,
"c": 0.19681,
"h": 300.8
},
"luminance": 0.23814
}Semantic roles & 50–950 ramp
primary
#A268EF
secondary
#DCEFC4
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85