#AF7CCD#AF7CCD
#AF7CCD is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.128 H 312.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7CCD |
|---|---|
| RGB | rgb(175, 124, 205) |
| HSL | hsl(278, 45%, 65%) |
| HSV | hsv(278, 40%, 80%) |
| CMYK | cmyk(14.6%, 39.5%, 0%, 19.6%) |
| CIE-LAB | lab(59.83, 34.58, -34.35) |
| CIE-LCH | lch(59.83, 48.74, 315.19°) |
| OKLab | oklab(66.77% 0.0861 -0.0949) |
| OKLCH | oklch(66.77% 0.128 312.2) |
| XYZ | xyz(35.9044, 27.9377, 61.2469) |
| Luminance | 0.2794 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.42
Soft Purple
#A66FB5
ΔE00 5.35
Pale Purple
#B790D4
ΔE00 5.70
Deep Lilac
#966EBD
ΔE00 6.39
Orchid (survey)
#C875C4
ΔE00 6.40
Light Purple
#BF77F6
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7CCD #9ACD7C
analogous
#877CCD #AF7CCD #CD7CC2
triadic
#AF7CCD #CDAF7C #7CCDAF
tetradic
#AF7CCD #CD877C #9ACD7C #7CC2CD
square
#AF7CCD #CD877C #9ACD7C #7CC2CD
split-complementary
#AF7CCD #C2CD7C #7CCD87
monochromatic
#733996 #9450BC #AF7CCD #CAA8DE #E5D5EF
Accessibility & contrast
On white
3.19
#AF7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#AF7CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7CCD
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7CCD | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#7991CB
Tritanopia (blue-blind)
#AC879B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #af7ccd; /* rgb */ color: rgb(175, 124, 205); /* oklch */ color: oklch(66.8% 0.128 312.2);
Tailwind
colors: {
custom: {
50: '#c8a3dc',
500: '#af7ccd',
950: '#000000',
},
}SCSS
$custom: #af7ccd; $custom-light: #c8a3dc; $custom-dark: #000000;
JSON
{
"hex": "#af7ccd",
"rgb": {
"r": 175,
"g": 124,
"b": 205
},
"hsl": {
"h": 277.778,
"s": 44.751,
"l": 64.51
},
"oklch": {
"l": 0.66767,
"c": 0.12813,
"h": 312.2
},
"luminance": 0.27937
}Semantic roles & 50–950 ramp
primary
#AF7CCD
secondary
#CFE0C4
accent
#B82E61
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83