#704EE5#704EE5

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

Color values

HEX#704EE5
RGBrgb(112, 78, 229)
HSLhsl(254, 74%, 60%)
HSVhsv(254, 66%, 90%)
CMYKcmyk(51.1%, 65.9%, 0%, 10.2%)
CIE-LABlab(45.01, 51.04, -71.97)
CIE-LCHlch(45.01, 88.23, 305.34°)
OKLaboklab(54.8% 0.0644 -0.2066)
OKLCHoklch(54.8% 0.216 287.3)
XYZxyz(23.5452, 14.5495, 75.6813)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE5 #C3E54E
analogous
#4E77E5 #704EE5 #BB4EE5
triadic
#704EE5 #E5704E #4EE570
tetradic
#704EE5 #E54E77 #C3E54E #4EE5BB
square
#704EE5 #E54E77 #C3E54E #4EE5BB
split-complementary
#704EE5 #E5BB4E #77E54E
monochromatic
#3718A1 #491FD6 #704EE5 #9B83ED #C6B9F5

Accessibility & contrast

On white

5.37
#704EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#704EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EE5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EE5#FFFFFF#000000##FFFFFF
##704EE51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#447493
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ee5;
/* rgb */ color: rgb(112, 78, 229);
/* oklch */ color: oklch(54.8% 0.216 287.3);
Tailwind
colors: {
  custom: {
    50: '#a382ee',
    500: '#704ee5',
    950: '#000000',
  },
}
SCSS
$custom: #704ee5;
$custom-light: #a382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee5",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 253.51,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.21638,
    "h": 287.3
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#704EE5
secondary
#D7E4AA
accent
#D70FAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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