#AF3CCF#AF3CCF
#AF3CCF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.227 H 317.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3CCF |
|---|---|
| RGB | rgb(175, 60, 207) |
| HSL | hsl(287, 60%, 52%) |
| HSV | hsv(287, 71%, 81%) |
| CMYK | cmyk(15.5%, 71%, 0%, 18.8%) |
| CIE-LAB | lab(48.07, 66.35, -54.10) |
| CIE-LCH | lch(48.07, 85.61, 320.81°) |
| OKLab | oklab(58.15% 0.1681 -0.1519) |
| OKLCH | oklch(58.15% 0.227 317.9) |
| XYZ | xyz(30.5559, 16.8520, 60.6626) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.12
Vibrant Purple
#AD03DE
ΔE00 5.20
Purply
#983FB2
ΔE00 5.57
Barney
#AC1DB8
ΔE00 5.68
Lightish Purple
#A552E6
ΔE00 5.80
Hot Purple
#CB00F5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3CCF #5CCF3C
analogous
#663CCF #AF3CCF #CF3CA5
triadic
#AF3CCF #CFAF3C #3CCFAF
tetradic
#AF3CCF #CF663C #5CCF3C #3CA5CF
square
#AF3CCF #CF663C #5CCF3C #3CA5CF
split-complementary
#AF3CCF #A5CF3C #3CCF66
monochromatic
#611D74 #8A29A5 #AF3CCF #C36DDB #D79EE7
Accessibility & contrast
On white
4.81
#AF3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#AF3CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3CCF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3CCF | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#AE5982
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #af3ccf; /* rgb */ color: rgb(175, 60, 207); /* oklch */ color: oklch(58.2% 0.227 317.9);
Tailwind
colors: {
custom: {
50: '#cb7cde',
500: '#af3ccf',
950: '#000000',
},
}SCSS
$custom: #af3ccf; $custom-light: #cb7cde; $custom-dark: #000000;
JSON
{
"hex": "#af3ccf",
"rgb": {
"r": 175,
"g": 60,
"b": 207
},
"hsl": {
"h": 286.939,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.58153,
"c": 0.22661,
"h": 317.9
},
"luminance": 0.16851
}Semantic roles & 50–950 ramp
primary
#AF3CCF
secondary
#A1D393
accent
#E44467
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83