#6125C6#6125C6
#6125C6 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.224 H 291.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6125C6 |
|---|---|
| RGB | rgb(97, 37, 198) |
| HSL | hsl(262, 69%, 46%) |
| HSV | hsv(262, 81%, 78%) |
| CMYK | cmyk(51%, 81.3%, 0%, 22.4%) |
| CIE-LAB | lab(33.86, 59.90, -72.46) |
| CIE-LCH | lch(33.86, 94.01, 309.58°) |
| OKLab | oklab(45.74% 0.0827 -0.2082) |
| OKLCH | oklch(45.74% 0.224 291.7) |
| XYZ | xyz(15.7815, 7.9411, 54.1164) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.39
Violet Blue
#510AC9
ΔE00 3.73
Blurple
#5539CC
ΔE00 4.20
Blue Violet
#5D06E9
ΔE00 4.28
Purply Blue
#661AEE
ΔE00 4.84
Blue With A Hint Of Purple
#533CC6
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6125C6 #8AC625
analogous
#2539C6 #6125C6 #B125C6
triadic
#6125C6 #C66125 #25C661
tetradic
#6125C6 #C62539 #8AC625 #25C6B1
square
#6125C6 #C62539 #8AC625 #25C6B1
split-complementary
#6125C6 #C6B125 #39C625
monochromatic
#2E125F #481B92 #6125C6 #814BDD #A57EE7
Accessibility & contrast
On white
8.11
#6125C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6125C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6125C6
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6125C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6125C6 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#3E5577
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6125c6; /* rgb */ color: rgb(97, 37, 198); /* oklch */ color: oklch(45.7% 0.224 291.7);
Tailwind
colors: {
custom: {
50: '#9968d9',
500: '#6125c6',
950: '#000000',
},
}SCSS
$custom: #6125c6; $custom-light: #9968d9; $custom-dark: #000000;
JSON
{
"hex": "#6125c6",
"rgb": {
"r": 97,
"g": 37,
"b": 198
},
"hsl": {
"h": 262.36,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.45737,
"c": 0.22405,
"h": 291.7
},
"luminance": 0.07942
}Semantic roles & 50–950 ramp
primary
#6125C6
secondary
#AFCF77
accent
#EB3CAA
background
#FAF6FD
surface
#F3EBFB
border
#CDC6D4
text
#0F0715
muted
#7F7A83