#704EE2#704EE2

#704EE2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.213 H 287.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#704EE2
RGBrgb(112, 78, 226)
HSLhsl(254, 72%, 60%)
HSVhsv(254, 65%, 89%)
CMYKcmyk(50.4%, 65.5%, 0%, 11.4%)
CIE-LABlab(44.78, 50.19, -70.65)
CIE-LCHlch(44.78, 86.66, 305.39°)
OKLaboklab(54.56% 0.0648 -0.2027)
OKLCHoklch(54.56% 0.213 287.7)
XYZxyz(23.1299, 14.3834, 73.4943)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE2 #C0E24E
analogous
#4E76E2 #704EE2 #BA4EE2
triadic
#704EE2 #E2704E #4EE270
tetradic
#704EE2 #E24E76 #C0E24E #4EE2BA
square
#704EE2 #E24E76 #C0E24E #4EE2BA
split-complementary
#704EE2 #E2BA4E #76E24E
monochromatic
#381A9C #4A22D1 #704EE2 #9A83EB #C5B7F3

Accessibility & contrast

On white

5.42
#704EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#704EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EE2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EE2#FFFFFF#000000##FFFFFF
##704EE21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#467391
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ee2;
/* rgb */ color: rgb(112, 78, 226);
/* oklch */ color: oklch(54.6% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#a282ec',
    500: '#704ee2',
    950: '#000000',
  },
}
SCSS
$custom: #704ee2;
$custom-light: #a282ec;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee2",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 253.784,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.21279,
    "h": 287.7
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#704EE2
secondary
#D5E3A9
accent
#EF39C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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