#897AFE#897AFE
#897AFE is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.7% C 0.189 H 285.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #897AFE |
|---|---|
| RGB | rgb(137, 122, 254) |
| HSL | hsl(247, 99%, 74%) |
| HSV | hsv(247, 52%, 100%) |
| CMYK | cmyk(46.1%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(58.41, 38.21, -64.15) |
| CIE-LCH | lch(58.41, 74.66, 300.78°) |
| OKLab | oklab(65.69% 0.0493 -0.1827) |
| OKLCH | oklch(65.69% 0.189 285.1) |
| XYZ | xyz(35.1602, 26.3916, 96.9882) |
| Luminance | 0.2639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.30
Lavender Blue
#8B88F8
ΔE00 4.18
Cornflower
#6A79F7
ΔE00 5.41
Mediumslateblue
#7B68EE
ΔE00 6.00
Perrywinkle
#8F8CE7
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897AFE #EFFE7A
analogous
#7AADFE #897AFE #CB7AFE
triadic
#897AFE #FE897A #7AFE89
tetradic
#897AFE #FE7AAD #EFFE7A #7AFECB
square
#897AFE #FE7AAD #EFFE7A #7AFECB
split-complementary
#897AFE #FECB7A #ADFE7A
monochromatic
#1E02FC #533DFE #897AFE #BFB7FE #E4E1FF
Accessibility & contrast
On white
3.34
#897AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#897AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897AFE
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897AFE | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#6297B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #897afe; /* rgb */ color: rgb(137, 122, 254); /* oklch */ color: oklch(65.7% 0.189 285.1);
Tailwind
colors: {
custom: {
50: '#b2a0ff',
500: '#897afe',
950: '#000000',
},
}SCSS
$custom: #897afe; $custom-light: #b2a0ff; $custom-dark: #000000;
JSON
{
"hex": "#897afe",
"rgb": {
"r": 137,
"g": 122,
"b": 254
},
"hsl": {
"h": 246.818,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.65691,
"c": 0.18923,
"h": 285.1
},
"luminance": 0.26393
}Semantic roles & 50–950 ramp
primary
#897AFE
secondary
#F3F7D4
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86