#906AF5#906AF5
#906AF5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.199 H 292.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #906AF5 |
|---|---|
| RGB | rgb(144, 106, 245) |
| HSL | hsl(256, 87%, 69%) |
| HSV | hsv(256, 57%, 96%) |
| CMYK | cmyk(41.2%, 56.7%, 0%, 3.9%) |
| CIE-LAB | lab(54.90, 46.31, -64.79) |
| CIE-LCH | lch(54.90, 79.63, 305.56°) |
| OKLab | oklab(63.06% 0.0757 -0.1844) |
| OKLCH | oklch(63.06% 0.199 292.3) |
| XYZ | xyz(33.1326, 22.8290, 89.0292) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.85
Mediumpurple
#9370DB
ΔE00 4.33
Lighter Purple
#A55AF4
ΔE00 5.16
Purpley
#8756E4
ΔE00 6.36
Light Urple
#B36FF6
ΔE00 6.60
Periwinkle (survey)
#8E82FE
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#906AF5 #CFF56A
analogous
#6A8AF5 #906AF5 #D66AF5
triadic
#906AF5 #F5906A #6AF590
tetradic
#906AF5 #F56A8A #CFF56A #6AF5D6
square
#906AF5 #F56A8A #CFF56A #6AF5D6
split-complementary
#906AF5 #F5D66A #8AF56A
monochromatic
#450ED6 #6531F1 #906AF5 #BBA3F9 #E5DDFD
Accessibility & contrast
On white
3.77
#906AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#906AF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #906AF5
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##906AF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##906AF5 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1485FA
Deuteranopia (green-blind)
#2581F2
Tritanopia (blue-blind)
#7488A5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #906af5; /* rgb */ color: rgb(144, 106, 245); /* oklch */ color: oklch(63.1% 0.199 292.3);
Tailwind
colors: {
custom: {
50: '#b696f9',
500: '#906af5',
950: '#000000',
},
}SCSS
$custom: #906af5; $custom-light: #b696f9; $custom-dark: #000000;
JSON
{
"hex": "#906af5",
"rgb": {
"r": 144,
"g": 106,
"b": 245
},
"hsl": {
"h": 256.403,
"s": 87.421,
"l": 68.824
},
"oklch": {
"l": 0.63058,
"c": 0.19937,
"h": 292.3
},
"luminance": 0.2283
}Semantic roles & 50–950 ramp
primary
#906AF5
secondary
#E7F2C9
accent
#E402A6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85