#704FC9#704FC9
#704FC9 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.181 H 291.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #704FC9 |
|---|---|
| RGB | rgb(112, 79, 201) |
| HSL | hsl(256, 53%, 55%) |
| HSV | hsv(256, 61%, 79%) |
| CMYK | cmyk(44.3%, 60.7%, 0%, 21.2%) |
| CIE-LAB | lab(43.14, 42.56, -58.98) |
| CIE-LCH | lch(43.14, 72.74, 305.81°) |
| OKLab | oklab(52.79% 0.0661 -0.1684) |
| OKLCH | oklch(52.79% 0.181 291.4) |
| XYZ | xyz(20.0178, 13.2531, 56.7504) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.44
Slate Blue
#6A5ACD
ΔE00 3.58
Iris
#6258C4
ΔE00 3.98
Bluey Purple
#6241C7
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 5.52
Bluish Purple
#703BE7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FC9 #A8C94F
analogous
#4F6BC9 #704FC9 #AD4FC9
triadic
#704FC9 #C9704F #4FC970
tetradic
#704FC9 #C94F6B #A8C94F #4FC9AD
square
#704FC9 #C94F6B #A8C94F #4FC9AD
split-complementary
#704FC9 #C9AD4F #6BC94F
monochromatic
#3C2579 #5333A7 #704FC9 #967ED7 #BCADE6
Accessibility & contrast
On white
5.75
#704FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#704FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FC9
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FC9 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#566B84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #704fc9; /* rgb */ color: rgb(112, 79, 201); /* oklch */ color: oklch(52.8% 0.181 291.4);
Tailwind
colors: {
custom: {
50: '#9f82da',
500: '#704fc9',
950: '#000000',
},
}SCSS
$custom: #704fc9; $custom-light: #9f82da; $custom-dark: #000000;
JSON
{
"hex": "#704fc9",
"rgb": {
"r": 112,
"g": 79,
"b": 201
},
"hsl": {
"h": 256.23,
"s": 53.043,
"l": 54.902
},
"oklch": {
"l": 0.52789,
"c": 0.18087,
"h": 291.4
},
"luminance": 0.13254
}Semantic roles & 50–950 ramp
primary
#704FC9
secondary
#C6D4A0
accent
#DC4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83