#9162F3#9162F3
#9162F3 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.208 H 294.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9162F3 |
|---|---|
| RGB | rgb(145, 98, 243) |
| HSL | hsl(259, 86%, 67%) |
| HSV | hsv(259, 60%, 95%) |
| CMYK | cmyk(40.3%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(53.20, 50.37, -66.41) |
| CIE-LCH | lch(53.20, 83.35, 307.18°) |
| OKLab | oklab(61.79% 0.0861 -0.1892) |
| OKLCH | oklch(61.79% 0.208 294.5) |
| XYZ | xyz(32.2181, 21.2254, 87.1761) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.78
Mediumslateblue
#7B68EE
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.46
Mediumpurple
#9370DB
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162F3 #C4F362
analogous
#627CF3 #9162F3 #D962F3
triadic
#9162F3 #F39162 #62F391
tetradic
#9162F3 #F3627C #C4F362 #62F3D9
square
#9162F3 #F3627C #C4F362 #62F3D9
split-complementary
#9162F3 #F3D962 #7CF362
monochromatic
#4C10CB #6929EF #9162F3 #B99BF7 #E1D4FC
Accessibility & contrast
On white
4.00
#9162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9162F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162F3
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162F3 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#0F7DF0
Tritanopia (blue-blind)
#7782A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9162f3; /* rgb */ color: rgb(145, 98, 243); /* oklch */ color: oklch(61.8% 0.208 294.5);
Tailwind
colors: {
custom: {
50: '#b790f8',
500: '#9162f3',
950: '#000000',
},
}SCSS
$custom: #9162f3; $custom-light: #b790f8; $custom-dark: #000000;
JSON
{
"hex": "#9162f3",
"rgb": {
"r": 145,
"g": 98,
"b": 243
},
"hsl": {
"h": 259.448,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.61793,
"c": 0.20784,
"h": 294.5
},
"luminance": 0.21226
}Semantic roles & 50–950 ramp
primary
#9162F3
secondary
#E1F0C1
accent
#E2039A
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85