#A68BF2#A68BF2
#A68BF2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.149 H 294.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A68BF2 |
|---|---|
| RGB | rgb(166, 139, 242) |
| HSL | hsl(256, 80%, 75%) |
| HSV | hsv(256, 43%, 95%) |
| CMYK | cmyk(31.4%, 42.6%, 0%, 5.1%) |
| CIE-LAB | lab(64.15, 32.27, -48.25) |
| CIE-LCH | lch(64.15, 58.05, 303.78°) |
| OKLab | oklab(70.38% 0.0612 -0.1354) |
| OKLCH | oklch(70.38% 0.149 294.3) |
| XYZ | xyz(40.9815, 32.9824, 88.1943) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.07
Periwinkle (survey)
#8E82FE
ΔE00 5.71
Liliac
#C48EFD
ΔE00 5.73
Lavender Blue
#8B88F8
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 7.45
Baby Purple
#CA9BF7
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A68BF2 #D7F28B
analogous
#8BA4F2 #A68BF2 #D98BF2
triadic
#A68BF2 #F2A68B #8BF2A6
tetradic
#A68BF2 #F28BA4 #D7F28B #8BF2D9
square
#A68BF2 #F28BA4 #D7F28B #8BF2D9
split-complementary
#A68BF2 #F2D98B #A4F28B
monochromatic
#521DE6 #7C54EC #A68BF2 #D0C2F8 #EAE3FC
Accessibility & contrast
On white
2.76
#A68BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A68BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A68BF2
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A68BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A68BF2 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#959EB3
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a68bf2; /* rgb */ color: rgb(166, 139, 242); /* oklch */ color: oklch(70.4% 0.149 294.3);
Tailwind
colors: {
custom: {
50: '#c3adf7',
500: '#a68bf2',
950: '#000000',
},
}SCSS
$custom: #a68bf2; $custom-light: #c3adf7; $custom-dark: #000000;
JSON
{
"hex": "#a68bf2",
"rgb": {
"r": 166,
"g": 139,
"b": 242
},
"hsl": {
"h": 255.728,
"s": 79.845,
"l": 74.706
},
"oklch": {
"l": 0.70383,
"c": 0.14857,
"h": 294.3
},
"luminance": 0.32983
}Semantic roles & 50–950 ramp
primary
#A68BF2
secondary
#ECF4D7
accent
#DC09A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85