#9160F2#9160F2
#9160F2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.209 H 295.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9160F2 |
|---|---|
| RGB | rgb(145, 96, 242) |
| HSL | hsl(260, 85%, 66%) |
| HSV | hsv(260, 60%, 95%) |
| CMYK | cmyk(40.1%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(52.73, 51.18, -66.61) |
| CIE-LCH | lch(52.73, 84.00, 307.54°) |
| OKLab | oklab(61.43% 0.0883 -0.1898) |
| OKLCH | oklch(61.43% 0.209 295) |
| XYZ | xyz(31.8827, 20.7956, 86.3213) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.60
Purpley
#8756E4
ΔE00 3.98
Mediumslateblue
#7B68EE
ΔE00 4.45
Lightish Purple
#A552E6
ΔE00 5.12
Mediumpurple
#9370DB
ΔE00 5.44
Light Urple
#B36FF6
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9160F2 #C1F260
analogous
#6078F2 #9160F2 #DA60F2
triadic
#9160F2 #F29160 #60F291
tetradic
#9160F2 #F26078 #C1F260 #60F2DA
square
#9160F2 #F26078 #C1F260 #60F2DA
split-complementary
#9160F2 #F2DA60 #78F260
monochromatic
#4E10C7 #6A27ED #9160F2 #B899F7 #DFD1FB
Accessibility & contrast
On white
4.07
#9160F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#9160F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9160F2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9160F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9160F2 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#7881A0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9160f2; /* rgb */ color: rgb(145, 96, 242); /* oklch */ color: oklch(61.4% 0.209 295.0);
Tailwind
colors: {
custom: {
50: '#b78ff7',
500: '#9160f2',
950: '#000000',
},
}SCSS
$custom: #9160f2; $custom-light: #b78ff7; $custom-dark: #000000;
JSON
{
"hex": "#9160f2",
"rgb": {
"r": 145,
"g": 96,
"b": 242
},
"hsl": {
"h": 260.137,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.61429,
"c": 0.20932,
"h": 295
},
"luminance": 0.20796
}Semantic roles & 50–950 ramp
primary
#9160F2
secondary
#DFEFBF
accent
#E10497
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85