#7168F2#7168F2
#7168F2 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 60.0% C 0.200 H 281.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7168F2 |
|---|---|
| RGB | rgb(113, 104, 242) |
| HSL | hsl(244, 84%, 68%) |
| HSV | hsv(244, 57%, 95%) |
| CMYK | cmyk(53.3%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(51.63, 40.30, -68.51) |
| CIE-LCH | lch(51.63, 79.49, 300.47°) |
| OKLab | oklab(59.95% 0.0397 -0.1963) |
| OKLCH | oklch(59.95% 0.2 281.4) |
| XYZ | xyz(27.7824, 19.8205, 86.3490) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.77
Cornflower
#6A79F7
ΔE00 5.75
Dark Periwinkle
#665FD1
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 6.80
Purpley
#8756E4
ΔE00 6.85
Slate Blue
#6A5ACD
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7168F2 #E9F268
analogous
#68A4F2 #7168F2 #B668F2
triadic
#7168F2 #F27168 #68F271
tetradic
#7168F2 #F268A4 #E9F268 #68F2B6
square
#7168F2 #F268A4 #E9F268 #68F2B6
split-complementary
#7168F2 #F2B668 #A4F268
monochromatic
#1E12CE #3C30ED #7168F2 #A6A0F7 #DBD9FC
Accessibility & contrast
On white
4.23
#7168F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#7168F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7168F2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7168F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7168F2 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#3788A3
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7168f2; /* rgb */ color: rgb(113, 104, 242); /* oklch */ color: oklch(60.0% 0.200 281.4);
Tailwind
colors: {
custom: {
50: '#a393f7',
500: '#7168f2',
950: '#000000',
},
}SCSS
$custom: #7168f2; $custom-light: #a393f7; $custom-dark: #000000;
JSON
{
"hex": "#7168f2",
"rgb": {
"r": 113,
"g": 104,
"b": 242
},
"hsl": {
"h": 243.913,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.5995,
"c": 0.20026,
"h": 281.4
},
"luminance": 0.19822
}Semantic roles & 50–950 ramp
primary
#7168F2
secondary
#EDF0C6
accent
#E105D2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85