#897FF7#897FF7
#897FF7 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.173 H 284.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #897FF7 |
|---|---|
| RGB | rgb(137, 127, 247) |
| HSL | hsl(245, 88%, 73%) |
| HSV | hsv(245, 49%, 97%) |
| CMYK | cmyk(44.5%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(59.17, 33.31, -59.06) |
| CIE-LCH | lch(59.17, 67.81, 299.42°) |
| OKLab | oklab(66.13% 0.043 -0.1677) |
| OKLCH | oklch(66.13% 0.173 284.4) |
| XYZ | xyz(34.6895, 27.2110, 91.4021) |
| Luminance | 0.2721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.40
Lavender Blue
#8B88F8
ΔE00 2.64
Perrywinkle
#8F8CE7
ΔE00 4.78
Cornflower
#6A79F7
ΔE00 5.37
Mediumpurple
#9370DB
ΔE00 6.96
Mediumslateblue
#7B68EE
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897FF7 #EDF77F
analogous
#7FB1F7 #897FF7 #C57FF7
triadic
#897FF7 #F7897F #7FF789
tetradic
#897FF7 #F77FB1 #EDF77F #7FF7C5
square
#897FF7 #F77FB1 #EDF77F #7FF7C5
split-complementary
#897FF7 #F7C57F #B1F77F
monochromatic
#210FED #5445F3 #897FF7 #BEB9FB #E4E2FD
Accessibility & contrast
On white
3.26
#897FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#897FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897FF7
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897FF7 | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#6698AF
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #897ff7; /* rgb */ color: rgb(137, 127, 247); /* oklch */ color: oklch(66.1% 0.173 284.4);
Tailwind
colors: {
custom: {
50: '#b1a4fa',
500: '#897ff7',
950: '#000000',
},
}SCSS
$custom: #897ff7; $custom-light: #b1a4fa; $custom-dark: #000000;
JSON
{
"hex": "#897ff7",
"rgb": {
"r": 137,
"g": 127,
"b": 247
},
"hsl": {
"h": 245,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.6613,
"c": 0.17317,
"h": 284.4
},
"luminance": 0.27213
}Semantic roles & 50–950 ramp
primary
#897FF7
secondary
#F3F5D6
accent
#E501D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85