#704FCE#704FCE
#704FCE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.187 H 290.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #704FCE |
|---|---|
| RGB | rgb(112, 79, 206) |
| HSL | hsl(256, 56%, 56%) |
| HSV | hsv(256, 62%, 81%) |
| CMYK | cmyk(45.6%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(43.50, 43.97, -61.30) |
| CIE-LCH | lch(43.50, 75.44, 305.65°) |
| OKLab | oklab(53.16% 0.0658 -0.1752) |
| OKLCH | oklch(53.16% 0.187 290.6) |
| XYZ | xyz(20.6155, 13.4922, 59.8986) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.44
Iris
#6258C4
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 4.39
Bluish Purple
#703BE7
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FCE #ADCE4F
analogous
#4F6DCE #704FCE #B04FCE
triadic
#704FCE #CE704F #4FCE70
tetradic
#704FCE #CE4F6D #ADCE4F #4FCEB0
square
#704FCE #CE4F6D #ADCE4F #4FCEB0
split-complementary
#704FCE #CEB04F #6DCE4F
monochromatic
#3B237F #5231AF #704FCE #977FDB #BEAFE9
Accessibility & contrast
On white
5.68
#704FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#704FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FCE
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FCE | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#536C87
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #704fce; /* rgb */ color: rgb(112, 79, 206); /* oklch */ color: oklch(53.2% 0.187 290.6);
Tailwind
colors: {
custom: {
50: '#a082de',
500: '#704fce',
950: '#000000',
},
}SCSS
$custom: #704fce; $custom-light: #a082de; $custom-dark: #000000;
JSON
{
"hex": "#704fce",
"rgb": {
"r": 112,
"g": 79,
"b": 206
},
"hsl": {
"h": 255.591,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.53158,
"c": 0.18712,
"h": 290.6
},
"luminance": 0.13493
}Semantic roles & 50–950 ramp
primary
#704FCE
secondary
#C9D7A2
accent
#E048B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83