#704EE8#704EE8

#704EE8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.220 H 286.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#704EE8
RGBrgb(112, 78, 232)
HSLhsl(253, 77%, 61%)
HSVhsv(253, 66%, 91%)
CMYKcmyk(51.7%, 66.4%, 0%, 9%)
CIE-LABlab(45.25, 51.90, -73.29)
CIE-LCHlch(45.25, 89.80, 305.30°)
OKLaboklab(55.04% 0.064 -0.2104)
OKLCHoklch(55.04% 0.22 286.9)
XYZxyz(23.9677, 14.7185, 77.9063)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE8 #C6E84E
analogous
#4E79E8 #704EE8 #BD4EE8
triadic
#704EE8 #E8704E #4EE870
tetradic
#704EE8 #E84E79 #C6E84E #4EE8BD
square
#704EE8 #E84E79 #C6E84E #4EE8BD
split-complementary
#704EE8 #E8BD4E #79E84E
monochromatic
#3516A6 #471DDC #704EE8 #9C84EF #C8BAF6

Accessibility & contrast

On white

5.32
#704EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#704EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EE8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EE8#FFFFFF#000000##FFFFFF
##704EE81.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#417595
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704ee8;
/* rgb */ color: rgb(112, 78, 232);
/* oklch */ color: oklch(55.0% 0.220 286.9);
Tailwind
colors: {
  custom: {
    50: '#a382f0',
    500: '#704ee8',
    950: '#000000',
  },
}
SCSS
$custom: #704ee8;
$custom-light: #a382f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee8",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 253.247,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.21995,
    "h": 286.9
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#704EE8
secondary
#D9E6AC
accent
#D90CAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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