#704ED4#704ED4

#704ED4 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.196 H 289.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#704ED4
RGBrgb(112, 78, 212)
HSLhsl(255, 61%, 57%)
HSVhsv(255, 63%, 83%)
CMYKcmyk(47.2%, 63.2%, 0%, 16.9%)
CIE-LABlab(43.72, 46.22, -64.38)
CIE-LCHlch(43.72, 79.25, 305.68°)
OKLaboklab(53.46% 0.0663 -0.1842)
OKLCHoklch(53.46% 0.196 289.8)
XYZxyz(21.2868, 13.6462, 63.7870)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED4 #B2D44E
analogous
#4E6FD4 #704ED4 #B34ED4
triadic
#704ED4 #D4704E #4ED470
tetradic
#704ED4 #D44E6F #B2D44E #4ED4B3
square
#704ED4 #D44E6F #B2D44E #4ED4B3
split-complementary
#704ED4 #D4B34E #6FD44E
monochromatic
#3B2187 #502DB8 #704ED4 #987FE0 #C0B0EC

Accessibility & contrast

On white

5.63
#704ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#704ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED4#FFFFFF#000000##FFFFFF
##704ED41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#506E8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704ed4;
/* rgb */ color: rgb(112, 78, 212);
/* oklch */ color: oklch(53.5% 0.196 289.8);
Tailwind
colors: {
  custom: {
    50: '#a181e2',
    500: '#704ed4',
    950: '#000000',
  },
}
SCSS
$custom: #704ed4;
$custom-light: #a181e2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed4",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 255.224,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.19583,
    "h": 289.8
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#704ED4
secondary
#CCDAA4
accent
#E444BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #704ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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