#7262E1#7262E1
#7262E1 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.8% C 0.186 H 284.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7262E1 |
|---|---|
| RGB | rgb(114, 98, 225) |
| HSL | hsl(248, 68%, 63%) |
| HSV | hsv(248, 56%, 88%) |
| CMYK | cmyk(49.3%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(49.19, 38.92, -62.92) |
| CIE-LCH | lch(49.19, 73.98, 301.74°) |
| OKLab | oklab(57.8% 0.0472 -0.1798) |
| OKLCH | oklch(57.8% 0.186 284.7) |
| XYZ | xyz(24.8937, 17.7478, 73.3335) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.05
Purpley
#8756E4
ΔE00 5.00
Iris
#6258C4
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7262E1 #D1E162
analogous
#6291E1 #7262E1 #B162E1
triadic
#7262E1 #E17262 #62E172
tetradic
#7262E1 #E16291 #D1E162 #62E1B1
square
#7262E1 #E16291 #D1E162 #62E1B1
split-complementary
#7262E1 #E1B162 #91E162
monochromatic
#3120A8 #442FD7 #7262E1 #A095EB #CEC9F5
Accessibility & contrast
On white
4.62
#7262E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7262E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7262E1
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7262E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7262E1 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#497F98
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7262e1; /* rgb */ color: rgb(114, 98, 225); /* oklch */ color: oklch(57.8% 0.186 284.7);
Tailwind
colors: {
custom: {
50: '#a28feb',
500: '#7262e1',
950: '#000000',
},
}SCSS
$custom: #7262e1; $custom-light: #a28feb; $custom-dark: #000000;
JSON
{
"hex": "#7262e1",
"rgb": {
"r": 114,
"g": 98,
"b": 225
},
"hsl": {
"h": 247.559,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.57797,
"c": 0.18591,
"h": 284.7
},
"luminance": 0.17749
}Semantic roles & 50–950 ramp
primary
#7262E1
secondary
#E0E6B9
accent
#D016B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84