#AF5CF3#AF5CF3
#AF5CF3 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.221 H 306.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5CF3 |
|---|---|
| RGB | rgb(175, 92, 243) |
| HSL | hsl(273, 86%, 66%) |
| HSV | hsv(273, 62%, 95%) |
| CMYK | cmyk(28%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(55.32, 59.90, -62.82) |
| CIE-LCH | lch(55.32, 86.80, 313.64°) |
| OKLab | oklab(64.07% 0.1313 -0.1777) |
| OKLCH | oklch(64.07% 0.221 306.5) |
| XYZ | xyz(37.6806, 23.2397, 87.2773) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.98
Lightish Purple
#A552E6
ΔE00 3.67
Light Urple
#B36FF6
ΔE00 4.42
Bright Lavender
#C760FF
ΔE00 4.52
Bright Lilac
#C95EFB
ΔE00 4.66
Mediumorchid
#BA55D3
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5CF3 #A0F35C
analogous
#635CF3 #AF5CF3 #F35CEC
triadic
#AF5CF3 #F3AF5C #5CF3AF
tetradic
#AF5CF3 #F3635C #A0F35C #5CECF3
square
#AF5CF3 #F3635C #A0F35C #5CECF3
split-complementary
#AF5CF3 #ECF35C #5CF363
monochromatic
#730FC6 #9323EF #AF5CF3 #CB95F7 #E7CEFB
Accessibility & contrast
On white
3.72
#AF5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#AF5CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF5CF3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF5CF3 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#A47B9F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #af5cf3; /* rgb */ color: rgb(175, 92, 243); /* oklch */ color: oklch(64.1% 0.221 306.5);
Tailwind
colors: {
custom: {
50: '#cb8ef8',
500: '#af5cf3',
950: '#000000',
},
}SCSS
$custom: #af5cf3; $custom-light: #cb8ef8; $custom-dark: #000000;
JSON
{
"hex": "#af5cf3",
"rgb": {
"r": 175,
"g": 92,
"b": 243
},
"hsl": {
"h": 272.98,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.64072,
"c": 0.22091,
"h": 306.5
},
"luminance": 0.23239
}Semantic roles & 50–950 ramp
primary
#AF5CF3
secondary
#D3EFBC
accent
#E30368
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85