#AF6FDA#AF6FDA
#AF6FDA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.165 H 310.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6FDA |
|---|---|
| RGB | rgb(175, 111, 218) |
| HSL | hsl(276, 59%, 65%) |
| HSV | hsv(276, 49%, 85%) |
| CMYK | cmyk(19.7%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(57.60, 44.56, -45.18) |
| CIE-LCH | lch(57.60, 63.46, 314.61°) |
| OKLab | oklab(65.3% 0.1066 -0.1262) |
| OKLCH | oklch(65.3% 0.165 310.2) |
| XYZ | xyz(36.0162, 25.5454, 69.3495) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.33
Light Purple
#BF77F6
ΔE00 4.96
Easter Purple
#C071FE
ΔE00 5.59
Mediumpurple
#9370DB
ΔE00 5.95
Mediumorchid
#BA55D3
ΔE00 6.15
Deep Lilac
#966EBD
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6FDA #9ADA6F
analogous
#7A6FDA #AF6FDA #DA6FCF
triadic
#AF6FDA #DAAF6F #6FDAAF
tetradic
#AF6FDA #DA7A6F #9ADA6F #6FCFDA
square
#AF6FDA #DA7A6F #9ADA6F #6FCFDA
split-complementary
#AF6FDA #CFDA6F #6FDA7A
monochromatic
#732AA4 #943ECD #AF6FDA #CAA0E7 #E5D0F3
Accessibility & contrast
On white
3.44
#AF6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#AF6FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6FDA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6FDA | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#AA819A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #af6fda; /* rgb */ color: rgb(175, 111, 218); /* oklch */ color: oklch(65.3% 0.165 310.2);
Tailwind
colors: {
custom: {
50: '#c99ae6',
500: '#af6fda',
950: '#000000',
},
}SCSS
$custom: #af6fda; $custom-light: #c99ae6; $custom-dark: #000000;
JSON
{
"hex": "#af6fda",
"rgb": {
"r": 175,
"g": 111,
"b": 218
},
"hsl": {
"h": 275.888,
"s": 59.116,
"l": 64.51
},
"oklch": {
"l": 0.65297,
"c": 0.16513,
"h": 310.2
},
"luminance": 0.25545
}Semantic roles & 50–950 ramp
primary
#AF6FDA
secondary
#CFE5C0
accent
#C71F62
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84