#897FFE#897FFE
#897FFE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.182 H 283.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #897FFE |
|---|---|
| RGB | rgb(137, 127, 254) |
| HSL | hsl(245, 98%, 75%) |
| HSV | hsv(245, 50%, 100%) |
| CMYK | cmyk(46.1%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(59.57, 35.32, -62.28) |
| CIE-LCH | lch(59.57, 71.59, 299.56°) |
| OKLab | oklab(66.56% 0.0436 -0.1772) |
| OKLCH | oklch(66.56% 0.182 283.8) |
| XYZ | xyz(35.7900, 27.6512, 97.1981) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.12
Lavender Blue
#8B88F8
ΔE00 2.78
Perrywinkle
#8F8CE7
ΔE00 5.34
Cornflower
#6A79F7
ΔE00 5.36
Mediumslateblue
#7B68EE
ΔE00 7.25
Mediumpurple
#9370DB
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897FFE #F4FE7F
analogous
#7FB5FE #897FFE #C87FFE
triadic
#897FFE #FE897F #7FFE89
tetradic
#897FFE #FE7FB5 #F4FE7F #7FFEC8
square
#897FFE #FE7FB5 #F4FE7F #7FFEC8
split-complementary
#897FFE #FEC87F #B5FE7F
monochromatic
#1906FD #5142FE #897FFE #C1BCFE #E3E1FF
Accessibility & contrast
On white
3.22
#897FFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#897FFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897FFE
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897FFE | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#3E8BFB
Tritanopia (blue-blind)
#619AB3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #897ffe; /* rgb */ color: rgb(137, 127, 254); /* oklch */ color: oklch(66.6% 0.182 283.8);
Tailwind
colors: {
custom: {
50: '#b2a4ff',
500: '#897ffe',
950: '#000000',
},
}SCSS
$custom: #897ffe; $custom-light: #b2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#897ffe",
"rgb": {
"r": 137,
"g": 127,
"b": 254
},
"hsl": {
"h": 244.724,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.66562,
"c": 0.18246,
"h": 283.8
},
"luminance": 0.27653
}Semantic roles & 50–950 ramp
primary
#897FFE
secondary
#F4F7D4
accent
#E600D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86