#635AAA#635AAA
#635AAA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.123 H 286.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #635AAA |
|---|---|
| RGB | rgb(99, 90, 170) |
| HSL | hsl(247, 32%, 51%) |
| HSV | hsv(247, 47%, 67%) |
| CMYK | cmyk(41.8%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(42.56, 23.97, -41.86) |
| CIE-LCH | lch(42.56, 48.24, 299.80°) |
| OKLab | oklab(51.44% 0.0348 -0.1184) |
| OKLCH | oklch(51.44% 0.123 286.4) |
| XYZ | xyz(16.0554, 12.8667, 39.6600) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 6.14
Light Indigo
#6D5ACF
ΔE00 6.16
Dark Periwinkle
#665FD1
ΔE00 6.41
Twilight
#4E518B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635AAA #A1AA5A
analogous
#5A79AA #635AAA #8B5AAA
triadic
#635AAA #AA635A #5AAA63
tetradic
#635AAA #AA5A79 #A1AA5A #5AAA8B
square
#635AAA #AA5A79 #A1AA5A #5AAA8B
split-complementary
#635AAA #AA8B5A #79AA5A
monochromatic
#342F5B #4B4483 #635AAA #8982BF #AFABD4
Accessibility & contrast
On white
5.88
#635AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#635AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635AAA
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635AAA | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#4E6A7A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #635aaa; /* rgb */ color: rgb(99, 90, 170); /* oklch */ color: oklch(51.4% 0.123 286.4);
Tailwind
colors: {
custom: {
50: '#9388c4',
500: '#635aaa',
950: '#000000',
},
}SCSS
$custom: #635aaa; $custom-light: #9388c4; $custom-dark: #000000;
JSON
{
"hex": "#635aaa",
"rgb": {
"r": 99,
"g": 90,
"b": 170
},
"hsl": {
"h": 246.75,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.51437,
"c": 0.12343,
"h": 286.4
},
"luminance": 0.12867
}Semantic roles & 50–950 ramp
primary
#635AAA
secondary
#BEC29E
accent
#C860BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81