#704CCF#704CCF
#704CCF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.192 H 291.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #704CCF |
|---|---|
| RGB | rgb(112, 76, 207) |
| HSL | hsl(256, 58%, 55%) |
| HSV | hsv(256, 63%, 81%) |
| CMYK | cmyk(45.9%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(42.94, 45.93, -62.77) |
| CIE-LCH | lch(42.94, 77.78, 306.19°) |
| OKLab | oklab(52.78% 0.0689 -0.1795) |
| OKLCH | oklch(52.78% 0.192 291) |
| XYZ | xyz(20.5259, 13.1179, 60.4699) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.18
Bluish Purple
#703BE7
ΔE00 4.43
Iris
#6258C4
ΔE00 4.69
Purpleish Blue
#6140EF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CCF #ABCF4C
analogous
#4C69CF #704CCF #B24CCF
triadic
#704CCF #CF704C #4CCF70
tetradic
#704CCF #CF4C69 #ABCF4C #4CCFB2
square
#704CCF #CF4C69 #ABCF4C #4CCFB2
split-complementary
#704CCF #CFB24C #69CF4C
monochromatic
#3B227F #522FAF #704CCF #977CDC #BDADE9
Accessibility & contrast
On white
5.80
#704CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#704CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CCF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CCF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#536B87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #704ccf; /* rgb */ color: rgb(112, 76, 207); /* oklch */ color: oklch(52.8% 0.192 291.0);
Tailwind
colors: {
custom: {
50: '#a080df',
500: '#704ccf',
950: '#000000',
},
}SCSS
$custom: #704ccf; $custom-light: #a080df; $custom-dark: #000000;
JSON
{
"hex": "#704ccf",
"rgb": {
"r": 112,
"g": 76,
"b": 207
},
"hsl": {
"h": 256.489,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.52778,
"c": 0.19228,
"h": 291
},
"luminance": 0.13119
}Semantic roles & 50–950 ramp
primary
#704CCF
secondary
#C8D7A0
accent
#E147B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83