#A672FB#A672FB
#A672FB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.197 H 298.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A672FB |
|---|---|
| RGB | rgb(166, 114, 251) |
| HSL | hsl(263, 94%, 72%) |
| HSV | hsv(263, 55%, 98%) |
| CMYK | cmyk(33.9%, 54.6%, 0%, 1.6%) |
| CIE-LAB | lab(59.07, 48.44, -61.28) |
| CIE-LCH | lch(59.07, 78.11, 308.32°) |
| OKLab | oklab(66.75% 0.0939 -0.1735) |
| OKLCH | oklch(66.75% 0.197 298.4) |
| XYZ | xyz(39.1515, 27.1062, 94.4174) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.79
Easter Purple
#C071FE
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 5.14
Mediumpurple
#9370DB
ΔE00 5.38
Lighter Purple
#A55AF4
ΔE00 5.81
Bright Lavender
#C760FF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A672FB #C7FB72
analogous
#7283FB #A672FB #EB72FB
triadic
#A672FB #FBA672 #72FBA6
tetradic
#A672FB #FB7283 #C7FB72 #72FBEB
square
#A672FB #FB7283 #C7FB72 #72FBEB
split-complementary
#A672FB #FBEB72 #83FB72
monochromatic
#5E07EC #8036F9 #A672FB #CCAEFD #ECE1FE
Accessibility & contrast
On white
3.27
#A672FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A672FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A672FB
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A672FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A672FB | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#938EAC
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a672fb; /* rgb */ color: rgb(166, 114, 251); /* oklch */ color: oklch(66.7% 0.197 298.4);
Tailwind
colors: {
custom: {
50: '#c59cfd',
500: '#a672fb',
950: '#000000',
},
}SCSS
$custom: #a672fb; $custom-light: #c59cfd; $custom-dark: #000000;
JSON
{
"hex": "#a672fb",
"rgb": {
"r": 166,
"g": 114,
"b": 251
},
"hsl": {
"h": 262.774,
"s": 94.483,
"l": 71.569
},
"oklch": {
"l": 0.66748,
"c": 0.19726,
"h": 298.4
},
"luminance": 0.27107
}Semantic roles & 50–950 ramp
primary
#A672FB
secondary
#E9F6D3
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86