#704CFB#704CFB
#704CFB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.244 H 284.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #704CFB |
|---|---|
| RGB | rgb(112, 76, 251) |
| HSL | hsl(252, 96%, 64%) |
| HSV | hsv(252, 70%, 98%) |
| CMYK | cmyk(55.4%, 69.7%, 0%, 1.6%) |
| CIE-LAB | lab(46.41, 58.33, -82.05) |
| CIE-LCH | lch(46.41, 100.66, 305.41°) |
| OKLab | oklab(56.35% 0.0626 -0.2361) |
| OKLCH | oklch(56.35% 0.244 284.9) |
| XYZ | xyz(26.6738, 15.5771, 92.8492) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.22
Bluish Purple
#703BE7
ΔE00 4.96
Purpley
#8756E4
ΔE00 5.07
Light Indigo
#6D5ACF
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.70
Purpley Blue
#5F34E7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CFB #D7FB4C
analogous
#4C80FB #704CFB #C84CFB
triadic
#704CFB #FB704C #4CFB70
tetradic
#704CFB #FB4C80 #D7FB4C #4CFBC8
square
#704CFB #FB4C80 #D7FB4C #4CFBC8
split-complementary
#704CFB #FBC84C #80FB4C
monochromatic
#2D04C8 #4010FA #704CFB #A088FC #D0C4FE
Accessibility & contrast
On white
5.10
#704CFB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#704CFB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CFB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CFB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CFB | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0068F8
Tritanopia (blue-blind)
#2C7B9E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #704cfb; /* rgb */ color: rgb(112, 76, 251); /* oklch */ color: oklch(56.4% 0.244 284.9);
Tailwind
colors: {
custom: {
50: '#a681fe',
500: '#704cfb',
950: '#000000',
},
}SCSS
$custom: #704cfb; $custom-light: #a681fe; $custom-dark: #000000;
JSON
{
"hex": "#704cfb",
"rgb": {
"r": 112,
"g": 76,
"b": 251
},
"hsl": {
"h": 252.343,
"s": 95.628,
"l": 64.118
},
"oklch": {
"l": 0.56352,
"c": 0.24427,
"h": 284.9
},
"luminance": 0.15579
}Semantic roles & 50–950 ramp
primary
#704CFB
secondary
#E3F0B3
accent
#E600B6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86