#AF6CF2#AF6CF2
#AF6CF2 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.197 H 304.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6CF2 |
|---|---|
| RGB | rgb(175, 108, 242) |
| HSL | hsl(270, 84%, 69%) |
| HSV | hsv(270, 55%, 95%) |
| CMYK | cmyk(27.7%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(58.27, 51.61, -57.53) |
| CIE-LCH | lch(58.27, 77.28, 311.90°) |
| OKLab | oklab(66.21% 0.1122 -0.1622) |
| OKLCH | oklch(66.21% 0.197 304.7) |
| XYZ | xyz(39.0653, 26.2501, 86.9959) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.13
Easter Purple
#C071FE
ΔE00 3.42
Light Purple
#BF77F6
ΔE00 4.01
Bright Lavender
#C760FF
ΔE00 4.36
Lighter Purple
#A55AF4
ΔE00 4.73
Bright Lilac
#C95EFB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6CF2 #AFF26C
analogous
#6C6CF2 #AF6CF2 #F26CF2
triadic
#AF6CF2 #F2AF6C #6CF2AF
tetradic
#AF6CF2 #F26C6C #AFF26C #6CF2F2
square
#AF6CF2 #F26C6C #AFF26C #6CF2F2
split-complementary
#AF6CF2 #F2F26C #6CF26C
monochromatic
#7212D1 #9034ED #AF6CF2 #CEA4F7 #ECDCFC
Accessibility & contrast
On white
3.36
#AF6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#AF6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6CF2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6CF2 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#A386A5
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #af6cf2; /* rgb */ color: rgb(175, 108, 242); /* oklch */ color: oklch(66.2% 0.197 304.7);
Tailwind
colors: {
custom: {
50: '#ca98f7',
500: '#af6cf2',
950: '#000000',
},
}SCSS
$custom: #af6cf2; $custom-light: #ca98f7; $custom-dark: #000000;
JSON
{
"hex": "#af6cf2",
"rgb": {
"r": 175,
"g": 108,
"b": 242
},
"hsl": {
"h": 270,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.66208,
"c": 0.19721,
"h": 304.7
},
"luminance": 0.2625
}Semantic roles & 50–950 ramp
primary
#AF6CF2
secondary
#DDF1C9
accent
#E00573
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85