#797ACF#797ACF
#797ACF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.127 H 281.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #797ACF |
|---|---|
| RGB | rgb(121, 122, 207) |
| HSL | hsl(239, 47%, 64%) |
| HSV | hsv(239, 42%, 81%) |
| CMYK | cmyk(41.5%, 41.1%, 0%, 18.8%) |
| CIE-LAB | lab(54.54, 20.95, -44.13) |
| CIE-LCH | lch(54.54, 48.85, 295.39°) |
| OKLab | oklab(61.62% 0.0253 -0.1244) |
| OKLCH | oklch(61.62% 0.127 281.5) |
| XYZ | xyz(26.1039, 22.4879, 61.9846) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 6.37
Perrywinkle
#8F8CE7
ΔE00 6.73
Mediumpurple
#9370DB
ΔE00 7.17
Lavender Blue
#8B88F8
ΔE00 7.25
Mediumslateblue
#7B68EE
ΔE00 7.43
Periwinkle (survey)
#8E82FE
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797ACF #CFCE79
analogous
#79A5CF #797ACF #A379CF
triadic
#797ACF #CF797A #7ACF79
tetradic
#797ACF #CF79A5 #CFCE79 #79CFA3
square
#797ACF #CF79A5 #CFCE79 #79CFA3
split-complementary
#797ACF #CFA379 #A5CF79
monochromatic
#363797 #4C4DBF #797ACF #A6A7DF #D3D3EF
Accessibility & contrast
On white
3.82
#797ACF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#797ACF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797ACF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797ACF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797ACF | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#5F8B9A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #797acf; /* rgb */ color: rgb(121, 122, 207); /* oklch */ color: oklch(61.6% 0.127 281.5);
Tailwind
colors: {
custom: {
50: '#a3a0de',
500: '#797acf',
950: '#000000',
},
}SCSS
$custom: #797acf; $custom-light: #a3a0de; $custom-dark: #000000;
JSON
{
"hex": "#797acf",
"rgb": {
"r": 121,
"g": 122,
"b": 207
},
"hsl": {
"h": 239.302,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.61618,
"c": 0.12698,
"h": 281.5
},
"luminance": 0.22489
}Semantic roles & 50–950 ramp
primary
#797ACF
secondary
#E1E0C3
accent
#B92BBB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83