#704BCC#704BCC
#704BCC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.190 H 291.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #704BCC |
|---|---|
| RGB | rgb(112, 75, 204) |
| HSL | hsl(257, 56%, 55%) |
| HSV | hsv(257, 63%, 80%) |
| CMYK | cmyk(45.1%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(42.51, 45.64, -61.73) |
| CIE-LCH | lch(42.51, 76.77, 306.48°) |
| OKLab | oklab(52.4% 0.0702 -0.1765) |
| OKLCH | oklch(52.4% 0.19 291.7) |
| XYZ | xyz(20.0942, 12.8359, 58.5339) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 4.48
Bluish Purple
#703BE7
ΔE00 4.54
Iris
#6258C4
ΔE00 4.83
Purpleish Blue
#6140EF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BCC #A7CC4B
analogous
#4B67CC #704BCC #B04BCC
triadic
#704BCC #CC704B #4BCC70
tetradic
#704BCC #CC4B67 #A7CC4B #4BCCB0
square
#704BCC #CC4B67 #A7CC4B #4BCCB0
split-complementary
#704BCC #CCB04B #67CC4B
monochromatic
#3C237A #5330AA #704BCC #967BDA #BCAAE7
Accessibility & contrast
On white
5.89
#704BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#704BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BCC
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BCC | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#556985
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #704bcc; /* rgb */ color: rgb(112, 75, 204); /* oklch */ color: oklch(52.4% 0.190 291.7);
Tailwind
colors: {
custom: {
50: '#a07fdc',
500: '#704bcc',
950: '#000000',
},
}SCSS
$custom: #704bcc; $custom-light: #a07fdc; $custom-dark: #000000;
JSON
{
"hex": "#704bcc",
"rgb": {
"r": 112,
"g": 75,
"b": 204
},
"hsl": {
"h": 257.209,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.524,
"c": 0.18992,
"h": 291.7
},
"luminance": 0.12837
}Semantic roles & 50–950 ramp
primary
#704BCC
secondary
#C5D59E
accent
#DF49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83