#7B6AF5#7B6AF5
#7B6AF5 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.3% C 0.200 H 284.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7B6AF5 |
|---|---|
| RGB | rgb(123, 106, 245) |
| HSL | hsl(247, 87%, 69%) |
| HSV | hsv(247, 57%, 96%) |
| CMYK | cmyk(49.8%, 56.7%, 0%, 3.9%) |
| CIE-LAB | lab(53.07, 41.96, -67.82) |
| CIE-LCH | lch(53.07, 79.75, 301.74°) |
| OKLab | oklab(61.27% 0.0497 -0.194) |
| OKLCH | oklch(61.27% 0.2 284.4) |
| XYZ | xyz(29.7989, 21.1101, 88.8730) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.16
Cornflower
#6A79F7
ΔE00 5.90
Mediumpurple
#9370DB
ΔE00 6.46
Purpley
#8756E4
ΔE00 6.67
Dark Periwinkle
#665FD1
ΔE00 7.17
Periwinkle (survey)
#8E82FE
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B6AF5 #E4F56A
analogous
#6A9FF5 #7B6AF5 #C16AF5
triadic
#7B6AF5 #F57B6A #6AF57B
tetradic
#7B6AF5 #F56A9F #E4F56A #6AF5C1
square
#7B6AF5 #F56A9F #E4F56A #6AF5C1
split-complementary
#7B6AF5 #F5C16A #9FF56A
monochromatic
#270ED6 #4831F1 #7B6AF5 #AEA3F9 #E1DDFD
Accessibility & contrast
On white
4.02
#7B6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#7B6AF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B6AF5
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B6AF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B6AF5 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#4D8AA5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7b6af5; /* rgb */ color: rgb(123, 106, 245); /* oklch */ color: oklch(61.3% 0.200 284.4);
Tailwind
colors: {
custom: {
50: '#a995f9',
500: '#7b6af5',
950: '#000000',
},
}SCSS
$custom: #7b6af5; $custom-light: #a995f9; $custom-dark: #000000;
JSON
{
"hex": "#7b6af5",
"rgb": {
"r": 123,
"g": 106,
"b": 245
},
"hsl": {
"h": 247.338,
"s": 87.421,
"l": 68.824
},
"oklch": {
"l": 0.6127,
"c": 0.20023,
"h": 284.4
},
"luminance": 0.21112
}Semantic roles & 50–950 ramp
primary
#7B6AF5
secondary
#EDF2C9
accent
#E402C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85