#796AFC#796AFC
#796AFC is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.209 H 283.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #796AFC |
|---|---|
| RGB | rgb(121, 106, 252) |
| HSL | hsl(246, 96%, 70%) |
| HSV | hsv(246, 58%, 99%) |
| CMYK | cmyk(52%, 57.9%, 0%, 1.2%) |
| CIE-LAB | lab(53.38, 43.63, -71.21) |
| CIE-LCH | lch(53.38, 83.52, 301.50°) |
| OKLab | oklab(61.61% 0.0471 -0.204) |
| OKLCH | oklch(61.61% 0.209 283) |
| XYZ | xyz(30.6045, 21.3996, 94.5945) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.03
Cornflower
#6A79F7
ΔE00 5.63
Purpley
#8756E4
ΔE00 7.22
Mediumpurple
#9370DB
ΔE00 7.22
Periwinkle (survey)
#8E82FE
ΔE00 7.29
Dark Periwinkle
#665FD1
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796AFC #EDFC6A
analogous
#6AA4FC #796AFC #C26AFC
triadic
#796AFC #FC796A #6AFC79
tetradic
#796AFC #FC6AA4 #EDFC6A #6AFCC2
square
#796AFC #FC6AA4 #EDFC6A #6AFCC2
split-complementary
#796AFC #FCC26A #A4FC6A
monochromatic
#1C05E7 #432EFB #796AFC #AFA6FD #E4E1FE
Accessibility & contrast
On white
3.98
#796AFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#796AFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #796AFC
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796AFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##796AFC | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#428CA9
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #796afc; /* rgb */ color: rgb(121, 106, 252); /* oklch */ color: oklch(61.6% 0.209 283.0);
Tailwind
colors: {
custom: {
50: '#a995fe',
500: '#796afc',
950: '#000000',
},
}SCSS
$custom: #796afc; $custom-light: #a995fe; $custom-dark: #000000;
JSON
{
"hex": "#796afc",
"rgb": {
"r": 121,
"g": 106,
"b": 252
},
"hsl": {
"h": 246.164,
"s": 96.053,
"l": 70.196
},
"oklch": {
"l": 0.61612,
"c": 0.20937,
"h": 283
},
"luminance": 0.21401
}Semantic roles & 50–950 ramp
primary
#796AFC
secondary
#F1F5CD
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86