#AF7BFC#AF7BFC
#AF7BFC is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.187 H 300.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7BFC |
|---|---|
| RGB | rgb(175, 123, 252) |
| HSL | hsl(264, 96%, 74%) |
| HSV | hsv(264, 51%, 99%) |
| CMYK | cmyk(30.6%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(61.92, 45.97, -57.23) |
| CIE-LCH | lch(61.92, 73.41, 308.77°) |
| OKLab | oklab(69.08% 0.0938 -0.1614) |
| OKLCH | oklch(69.08% 0.187 300.2) |
| XYZ | xyz(42.3287, 30.3079, 95.6966) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.18
Light Purple
#BF77F6
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 3.77
Liliac
#C48EFD
ΔE00 5.98
Bright Lavender
#C760FF
ΔE00 6.73
Mediumpurple
#9370DB
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7BFC #C8FC7B
analogous
#7B87FC #AF7BFC #EF7BFC
triadic
#AF7BFC #FCAF7B #7BFCAF
tetradic
#AF7BFC #FC7B87 #C8FC7B #7BFCEF
square
#AF7BFC #FC7B87 #C8FC7B #7BFCEF
split-complementary
#AF7BFC #FCEF7B #87FC7B
monochromatic
#6706F7 #8B3FFB #AF7BFC #D3B7FD #EDE1FE
Accessibility & contrast
On white
2.97
#AF7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#AF7BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7BFC
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7BFC | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#9F94B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af7bfc; /* rgb */ color: rgb(175, 123, 252); /* oklch */ color: oklch(69.1% 0.187 300.2);
Tailwind
colors: {
custom: {
50: '#caa2fe',
500: '#af7bfc',
950: '#000000',
},
}SCSS
$custom: #af7bfc; $custom-light: #caa2fe; $custom-dark: #000000;
JSON
{
"hex": "#af7bfc",
"rgb": {
"r": 175,
"g": 123,
"b": 252
},
"hsl": {
"h": 264.186,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.69079,
"c": 0.18667,
"h": 300.2
},
"luminance": 0.30308
}Semantic roles & 50–950 ramp
primary
#AF7BFC
secondary
#E9F7D4
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86