#A268F2#A268F2
#A268F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.3% C 0.200 H 300.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A268F2 |
|---|---|
| RGB | rgb(162, 104, 242) |
| HSL | hsl(265, 84%, 68%) |
| HSV | hsv(265, 57%, 95%) |
| CMYK | cmyk(33.1%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(56.08, 50.65, -61.12) |
| CIE-LCH | lch(56.08, 79.38, 309.65°) |
| OKLab | oklab(64.28% 0.1008 -0.1731) |
| OKLCH | oklch(64.28% 0.2 300.2) |
| XYZ | xyz(35.8738, 23.9926, 86.7282) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.16
Light Urple
#B36FF6
ΔE00 3.63
Mediumpurple
#9370DB
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 5.52
Easter Purple
#C071FE
ΔE00 5.92
Bright Lavender
#C760FF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A268F2 #B8F268
analogous
#6873F2 #A268F2 #E768F2
triadic
#A268F2 #F2A268 #68F2A2
tetradic
#A268F2 #F26873 #B8F268 #68F2E7
square
#A268F2 #F26873 #B8F268 #68F2E7
split-complementary
#A268F2 #F2E768 #73F268
monochromatic
#6112CE #7F30ED #A268F2 #C5A0F7 #E7D9FC
Accessibility & contrast
On white
3.62
#A268F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#A268F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A268F2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A268F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A268F2 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#9184A3
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a268f2; /* rgb */ color: rgb(162, 104, 242); /* oklch */ color: oklch(64.3% 0.200 300.2);
Tailwind
colors: {
custom: {
50: '#c295f7',
500: '#a268f2',
950: '#000000',
},
}SCSS
$custom: #a268f2; $custom-light: #c295f7; $custom-dark: #000000;
JSON
{
"hex": "#a268f2",
"rgb": {
"r": 162,
"g": 104,
"b": 242
},
"hsl": {
"h": 265.217,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.64283,
"c": 0.20032,
"h": 300.2
},
"luminance": 0.23993
}Semantic roles & 50–950 ramp
primary
#A268F2
secondary
#DEF0C6
accent
#E10584
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85