#704FBE#704FBE
#704FBE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.167 H 293.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #704FBE |
|---|---|
| RGB | rgb(112, 79, 190) |
| HSL | hsl(258, 46%, 53%) |
| HSV | hsv(258, 58%, 75%) |
| CMYK | cmyk(41.1%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(42.39, 39.49, -53.81) |
| CIE-LCH | lch(42.39, 66.74, 306.27°) |
| OKLab | oklab(52% 0.0664 -0.1532) |
| OKLCH | oklch(52% 0.167 293.4) |
| XYZ | xyz(18.7698, 12.7539, 50.1780) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.28
Light Indigo
#6D5ACF
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FBE #9DBE4F
analogous
#4F65BE #704FBE #A84FBE
triadic
#704FBE #BE704F #4FBE70
tetradic
#704FBE #BE4F65 #9DBE4F #4FBEA8
square
#704FBE #BE4F65 #9DBE4F #4FBEA8
split-complementary
#704FBE #BEA84F #65BE4F
monochromatic
#3C286B #543898 #704FBE #947CCF #B9A8DF
Accessibility & contrast
On white
5.91
#704FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#704FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FBE
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FBE | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0565C2
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#5B677F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #704fbe; /* rgb */ color: rgb(112, 79, 190); /* oklch */ color: oklch(52.0% 0.167 293.4);
Tailwind
colors: {
custom: {
50: '#9e81d2',
500: '#704fbe',
950: '#000000',
},
}SCSS
$custom: #704fbe; $custom-light: #9e81d2; $custom-dark: #000000;
JSON
{
"hex": "#704fbe",
"rgb": {
"r": 112,
"g": 79,
"b": 190
},
"hsl": {
"h": 257.838,
"s": 46.058,
"l": 52.745
},
"oklch": {
"l": 0.51999,
"c": 0.16695,
"h": 293.4
},
"luminance": 0.12754
}Semantic roles & 50–950 ramp
primary
#704FBE
secondary
#BECC9C
accent
#D652AF
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83