#704FE4#704FE4

#704FE4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.214 H 287.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#704FE4
RGBrgb(112, 79, 228)
HSLhsl(253, 73%, 60%)
HSVhsv(253, 65%, 89%)
CMYKcmyk(50.9%, 65.4%, 0%, 10.6%)
CIE-LABlab(45.13, 50.22, -71.21)
CIE-LCHlch(45.13, 87.13, 305.19°)
OKLaboklab(54.86% 0.0636 -0.2043)
OKLCHoklch(54.86% 0.214 287.3)
XYZxyz(23.4775, 14.6370, 74.9719)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE4 #C3E44F
analogous
#4F78E4 #704FE4 #BB4FE4
triadic
#704FE4 #E4704F #4FE470
tetradic
#704FE4 #E44F78 #C3E44F #4FE4BB
square
#704FE4 #E44F78 #C3E44F #4FE4BB
split-complementary
#704FE4 #E4BB4F #78E44F
monochromatic
#3719A0 #4921D5 #704FE4 #9B84EC #C6B9F4

Accessibility & contrast

On white

5.35
#704FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#704FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE4#FFFFFF#000000##FFFFFF
##704FE41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#457493
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704fe4;
/* rgb */ color: rgb(112, 79, 228);
/* oklch */ color: oklch(54.9% 0.214 287.3);
Tailwind
colors: {
  custom: {
    50: '#a382ee',
    500: '#704fe4',
    950: '#000000',
  },
}
SCSS
$custom: #704fe4;
$custom-light: #a382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe4",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 253.289,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.21399,
    "h": 287.3
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#704FE4
secondary
#D7E4AB
accent
#D610AA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FE4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#704FE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva