#704BBB#704BBB
#704BBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.169 H 295.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #704BBB |
|---|---|
| RGB | rgb(112, 75, 187) |
| HSL | hsl(260, 45%, 51%) |
| HSV | hsv(260, 60%, 73%) |
| CMYK | cmyk(40.1%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(41.32, 40.95, -53.79) |
| CIE-LCH | lch(41.32, 67.60, 307.28°) |
| OKLab | oklab(51.15% 0.0713 -0.1531) |
| OKLCH | oklch(51.15% 0.169 295) |
| XYZ | xyz(18.1654, 12.0644, 48.3756) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.04
Royal Purple
#7851A9
ΔE00 4.39
Iris
#6258C4
ΔE00 5.27
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BBB #96BB4B
analogous
#4B5EBB #704BBB #A84BBB
triadic
#704BBB #BB704B #4BBB70
tetradic
#704BBB #BB4B5E #96BB4B #4BBBA8
square
#704BBB #BB4B5E #96BB4B #4BBBA8
split-complementary
#704BBB #BBA84B #5EBB4B
monochromatic
#3B2665 #553792 #704BBB #9377CC #B7A4DD
Accessibility & contrast
On white
6.15
#704BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#704BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BBB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BBB | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#5D647C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704bbb; /* rgb */ color: rgb(112, 75, 187); /* oklch */ color: oklch(51.1% 0.169 295.0);
Tailwind
colors: {
custom: {
50: '#9e7fd0',
500: '#704bbb',
950: '#000000',
},
}SCSS
$custom: #704bbb; $custom-light: #9e7fd0; $custom-dark: #000000;
JSON
{
"hex": "#704bbb",
"rgb": {
"r": 112,
"g": 75,
"b": 187
},
"hsl": {
"h": 259.821,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.5115,
"c": 0.16886,
"h": 295
},
"luminance": 0.12065
}Semantic roles & 50–950 ramp
primary
#704BBB
secondary
#B9CA98
accent
#D553AA
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82