#625799#625799
#625799 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.103 H 289.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #625799 |
|---|---|
| RGB | rgb(98, 87, 153) |
| HSL | hsl(250, 28%, 47%) |
| HSV | hsv(250, 43%, 60%) |
| CMYK | cmyk(35.9%, 43.1%, 0%, 40%) |
| CIE-LAB | lab(40.76, 20.63, -34.62) |
| CIE-LCH | lch(40.76, 40.30, 300.79°) |
| OKLab | oklab(49.74% 0.035 -0.0973) |
| OKLCH | oklch(49.74% 0.103 289.8) |
| XYZ | xyz(14.1934, 11.7126, 31.6438) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.78
Dusk
#4E5481
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.24
Iris
#6258C4
ΔE00 7.67
Blueberry
#464196
ΔE00 8.26
Dusky Blue
#475F94
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#625799 #8E9957
analogous
#576D99 #625799 #835799
triadic
#625799 #996257 #579962
tetradic
#625799 #99576D #8E9957 #579983
square
#625799 #99576D #8E9957 #579983
split-complementary
#625799 #998357 #6D9957
monochromatic
#302B4B #494172 #625799 #837AB3 #A8A1C9
Accessibility & contrast
On white
6.28
#625799 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#625799 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #625799
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##625799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##625799 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#546470
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #625799; /* rgb */ color: rgb(98, 87, 153); /* oklch */ color: oklch(49.7% 0.103 289.8);
Tailwind
colors: {
custom: {
50: '#9186b7',
500: '#625799',
950: '#000000',
},
}SCSS
$custom: #625799; $custom-light: #9186b7; $custom-dark: #000000;
JSON
{
"hex": "#625799",
"rgb": {
"r": 98,
"g": 87,
"b": 153
},
"hsl": {
"h": 250,
"s": 27.5,
"l": 47.059
},
"oklch": {
"l": 0.49743,
"c": 0.10341,
"h": 289.8
},
"luminance": 0.11713
}Semantic roles & 50–950 ramp
primary
#625799
secondary
#B1B795
accent
#C464B4
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80