#704EE4#704EE4

#704EE4 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.215 H 287.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#704EE4
RGBrgb(112, 78, 228)
HSLhsl(254, 74%, 60%)
HSVhsv(254, 66%, 89%)
CMYKcmyk(50.9%, 65.8%, 0%, 10.6%)
CIE-LABlab(44.93, 50.76, -71.53)
CIE-LCHlch(44.93, 87.71, 305.36°)
OKLaboklab(54.72% 0.0646 -0.2053)
OKLCHoklch(54.72% 0.215 287.5)
XYZxyz(23.4060, 14.4938, 74.9480)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE4 #C2E44E
analogous
#4E77E4 #704EE4 #BB4EE4
triadic
#704EE4 #E4704E #4EE470
tetradic
#704EE4 #E44E77 #C2E44E #4EE4BB
square
#704EE4 #E44E77 #C2E44E #4EE4BB
split-complementary
#704EE4 #E4BB4E #77E44E
monochromatic
#37189F #4920D4 #704EE4 #9B83EC #C6B8F4

Accessibility & contrast

On white

5.39
#704EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#704EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EE4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EE4#FFFFFF#000000##FFFFFF
##704EE41.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#457392
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ee4;
/* rgb */ color: rgb(112, 78, 228);
/* oklch */ color: oklch(54.7% 0.215 287.5);
Tailwind
colors: {
  custom: {
    50: '#a382ee',
    500: '#704ee4',
    950: '#000000',
  },
}
SCSS
$custom: #704ee4;
$custom-light: #a382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee4",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 253.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.54715,
    "c": 0.21519,
    "h": 287.5
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#704EE4
secondary
#D7E4AA
accent
#F038C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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