#AF4FE0#AF4FE0
#AF4FE0 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.219 H 312.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4FE0 |
|---|---|
| RGB | rgb(175, 79, 224) |
| HSL | hsl(280, 70%, 59%) |
| HSV | hsv(280, 65%, 88%) |
| CMYK | cmyk(21.9%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(51.94, 61.85, -57.59) |
| CIE-LCH | lch(51.94, 84.51, 317.04°) |
| OKLab | oklab(61.26% 0.1469 -0.1623) |
| OKLCH | oklch(61.26% 0.219 312.2) |
| XYZ | xyz(33.9273, 20.0886, 72.5968) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.21
Mediumorchid
#BA55D3
ΔE00 3.77
Lighter Purple
#A55AF4
ΔE00 4.34
Hot Purple
#CB00F5
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.19
Neon Purple
#BC13FE
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4FE0 #80E04F
analogous
#674FE0 #AF4FE0 #E04FC9
triadic
#AF4FE0 #E0AF4F #4FE0AF
tetradic
#AF4FE0 #E0674F #80E04F #4FC9E0
square
#AF4FE0 #E0674F #80E04F #4FC9E0
split-complementary
#AF4FE0 #C9E04F #4FE067
monochromatic
#6F1B9A #9424CE #AF4FE0 #C783E9 #DEB7F2
Accessibility & contrast
On white
4.19
#AF4FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#AF4FE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF4FE0
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4FE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF4FE0 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#A96C91
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #af4fe0; /* rgb */ color: rgb(175, 79, 224); /* oklch */ color: oklch(61.3% 0.219 312.2);
Tailwind
colors: {
custom: {
50: '#cb86ea',
500: '#af4fe0',
950: '#000000',
},
}SCSS
$custom: #af4fe0; $custom-light: #cb86ea; $custom-dark: #000000;
JSON
{
"hex": "#af4fe0",
"rgb": {
"r": 175,
"g": 79,
"b": 224
},
"hsl": {
"h": 279.724,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.61257,
"c": 0.21891,
"h": 312.2
},
"luminance": 0.20088
}Semantic roles & 50–950 ramp
primary
#AF4FE0
secondary
#BCE2A9
accent
#ED3B77
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84