#918AF1#918AF1
#918AF1 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.4% C 0.149 H 284.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #918AF1 |
|---|---|
| RGB | rgb(145, 138, 241) |
| HSL | hsl(244, 79%, 74%) |
| HSV | hsv(244, 43%, 95%) |
| CMYK | cmyk(39.8%, 42.7%, 0%, 5.5%) |
| CIE-LAB | lab(62.12, 27.15, -51.01) |
| CIE-LCH | lch(62.12, 57.79, 298.03°) |
| OKLab | oklab(68.41% 0.0381 -0.1439) |
| OKLCH | oklch(68.41% 0.149 284.8) |
| XYZ | xyz(36.6382, 30.5462, 87.1676) |
| Luminance | 0.3055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 1.74
Perrywinkle
#8F8CE7
ΔE00 1.75
Periwinkle (survey)
#8E82FE
ΔE00 3.09
Periwinkle Blue
#8F99FB
ΔE00 4.97
Cornflower
#6A79F7
ΔE00 7.83
Mediumpurple
#9370DB
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918AF1 #EAF18A
analogous
#8AB7F1 #918AF1 #C58AF1
triadic
#918AF1 #F1918A #8AF191
tetradic
#918AF1 #F18AB7 #EAF18A #8AF1C5
square
#918AF1 #F18AB7 #EAF18A #8AF1C5
split-complementary
#918AF1 #F1C58A #B7F18A
monochromatic
#2A1DE4 #5E53EA #918AF1 #C4C1F8 #E5E4FC
Accessibility & contrast
On white
2.95
#918AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#918AF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #918AF1
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918AF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918AF1 | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6599F5
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#759EB2
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #918af1; /* rgb */ color: rgb(145, 138, 241); /* oklch */ color: oklch(68.4% 0.149 284.8);
Tailwind
colors: {
custom: {
50: '#b5acf6',
500: '#918af1',
950: '#000000',
},
}SCSS
$custom: #918af1; $custom-light: #b5acf6; $custom-dark: #000000;
JSON
{
"hex": "#918af1",
"rgb": {
"r": 145,
"g": 138,
"b": 241
},
"hsl": {
"h": 244.078,
"s": 78.626,
"l": 74.314
},
"oklch": {
"l": 0.68411,
"c": 0.14888,
"h": 284.8
},
"luminance": 0.30548
}Semantic roles & 50–950 ramp
primary
#918AF1
secondary
#F2F4D7
accent
#DB0BCD
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85