#A268EC#A268EC
#A268EC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.193 H 301.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A268EC |
|---|---|
| RGB | rgb(162, 104, 236) |
| HSL | hsl(266, 78%, 67%) |
| HSV | hsv(266, 56%, 93%) |
| CMYK | cmyk(31.4%, 55.9%, 0%, 7.5%) |
| CIE-LAB | lab(55.72, 49.19, -58.35) |
| CIE-LCH | lch(55.72, 76.31, 310.13°) |
| OKLab | oklab(63.91% 0.1008 -0.165) |
| OKLCH | oklch(63.91% 0.193 301.4) |
| XYZ | xyz(34.9874, 23.6380, 82.0600) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.24
Light Urple
#B36FF6
ΔE00 3.72
Mediumpurple
#9370DB
ΔE00 4.07
Lightish Purple
#A552E6
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 6.07
Bright Lavender
#C760FF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A268EC #B2EC68
analogous
#6870EC #A268EC #E468EC
triadic
#A268EC #ECA268 #68ECA2
tetradic
#A268EC #EC6870 #B2EC68 #68ECE4
square
#A268EC #EC6870 #B2EC68 #68ECE4
split-complementary
#A268EC #ECE468 #70EC68
monochromatic
#6318C1 #8132E5 #A268EC #C39EF3 #E5D5FA
Accessibility & contrast
On white
3.67
#A268EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#A268EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A268EC
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A268EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A268EC | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#9382A0
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a268ec; /* rgb */ color: rgb(162, 104, 236); /* oklch */ color: oklch(63.9% 0.193 301.4);
Tailwind
colors: {
custom: {
50: '#c195f3',
500: '#a268ec',
950: '#000000',
},
}SCSS
$custom: #a268ec; $custom-light: #c195f3; $custom-dark: #000000;
JSON
{
"hex": "#a268ec",
"rgb": {
"r": 162,
"g": 104,
"b": 236
},
"hsl": {
"h": 266.364,
"s": 77.647,
"l": 66.667
},
"oklch": {
"l": 0.63907,
"c": 0.19331,
"h": 301.4
},
"luminance": 0.23638
}Semantic roles & 50–950 ramp
primary
#A268EC
secondary
#DAEDC3
accent
#DA0C7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85