#9162F0#9162F0
#9162F0 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.204 H 295.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9162F0 |
|---|---|
| RGB | rgb(145, 98, 240) |
| HSL | hsl(260, 83%, 66%) |
| HSV | hsv(260, 59%, 94%) |
| CMYK | cmyk(39.6%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(53.00, 49.58, -65.05) |
| CIE-LCH | lch(53.00, 81.80, 307.32°) |
| OKLab | oklab(61.59% 0.0862 -0.1852) |
| OKLCH | oklch(61.59% 0.204 295) |
| XYZ | xyz(31.7688, 21.0457, 84.8096) |
| Luminance | 0.2105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.25
Mediumslateblue
#7B68EE
ΔE00 4.28
Mediumpurple
#9370DB
ΔE00 4.92
Lightish Purple
#A552E6
ΔE00 5.31
Light Urple
#B36FF6
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9162F0 #C1F062
analogous
#627AF0 #9162F0 #D862F0
triadic
#9162F0 #F09162 #62F091
tetradic
#9162F0 #F0627A #C1F062 #62F0D8
square
#9162F0 #F0627A #C1F062 #62F0D8
split-complementary
#9162F0 #F0D862 #7AF062
monochromatic
#4E13C5 #6A2AEB #9162F0 #B89AF5 #DFD2FB
Accessibility & contrast
On white
4.03
#9162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#9162F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9162F0
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9162F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9162F0 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#1A7CED
Tritanopia (blue-blind)
#7981A0
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9162f0; /* rgb */ color: rgb(145, 98, 240); /* oklch */ color: oklch(61.6% 0.204 295.0);
Tailwind
colors: {
custom: {
50: '#b790f6',
500: '#9162f0',
950: '#000000',
},
}SCSS
$custom: #9162f0; $custom-light: #b790f6; $custom-dark: #000000;
JSON
{
"hex": "#9162f0",
"rgb": {
"r": 145,
"g": 98,
"b": 240
},
"hsl": {
"h": 259.859,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.61588,
"c": 0.20426,
"h": 295
},
"luminance": 0.21046
}Semantic roles & 50–950 ramp
primary
#9162F0
secondary
#DFEEC0
accent
#DF0797
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85