#897FFA#897FFA
#897FFA is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.177 H 284.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #897FFA |
|---|---|
| RGB | rgb(137, 127, 250) |
| HSL | hsl(245, 92%, 74%) |
| HSV | hsv(245, 49%, 98%) |
| CMYK | cmyk(45.2%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(59.34, 34.17, -60.45) |
| CIE-LCH | lch(59.34, 69.44, 299.48°) |
| OKLab | oklab(66.31% 0.0433 -0.1718) |
| OKLCH | oklch(66.31% 0.177 284.1) |
| XYZ | xyz(35.1561, 27.3977, 93.8598) |
| Luminance | 0.2740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.20
Lavender Blue
#8B88F8
ΔE00 2.66
Perrywinkle
#8F8CE7
ΔE00 5.01
Cornflower
#6A79F7
ΔE00 5.34
Mediumslateblue
#7B68EE
ΔE00 7.12
Mediumpurple
#9370DB
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897FFA #F0FA7F
analogous
#7FB3FA #897FFA #C77FFA
triadic
#897FFA #FA897F #7FFA89
tetradic
#897FFA #FA7FB3 #F0FA7F #7FFAC7
square
#897FFA #FA7FB3 #F0FA7F #7FFAC7
split-complementary
#897FFA #FAC77F #B3FA7F
monochromatic
#1D0AF5 #5344F8 #897FFA #BFBAFC #E4E2FE
Accessibility & contrast
On white
3.24
#897FFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#897FFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897FFA
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897FFA | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#6499B1
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #897ffa; /* rgb */ color: rgb(137, 127, 250); /* oklch */ color: oklch(66.3% 0.177 284.1);
Tailwind
colors: {
custom: {
50: '#b1a4fd',
500: '#897ffa',
950: '#000000',
},
}SCSS
$custom: #897ffa; $custom-light: #b1a4fd; $custom-dark: #000000;
JSON
{
"hex": "#897ffa",
"rgb": {
"r": 137,
"g": 127,
"b": 250
},
"hsl": {
"h": 244.878,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.66314,
"c": 0.17717,
"h": 284.1
},
"luminance": 0.27399
}Semantic roles & 50–950 ramp
primary
#897FFA
secondary
#F3F6D5
accent
#E600D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86