#704ED5#704ED5

#704ED5 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.197 H 289.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#704ED5
RGBrgb(112, 78, 213)
HSLhsl(255, 62%, 57%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.4%, 63.4%, 0%, 16.5%)
CIE-LABlab(43.79, 46.50, -64.83)
CIE-LCHlch(43.79, 79.79, 305.65°)
OKLaboklab(53.54% 0.0663 -0.1856)
OKLCHoklch(53.54% 0.197 289.6)
XYZxyz(21.4133, 13.6968, 64.4534)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED5 #B3D54E
analogous
#4E70D5 #704ED5 #B44ED5
triadic
#704ED5 #D5704E #4ED570
tetradic
#704ED5 #D54E70 #B3D54E #4ED5B4
square
#704ED5 #D54E70 #B3D54E #4ED5B4
split-complementary
#704ED5 #D5B44E #70D54E
monochromatic
#3B2088 #502CBA #704ED5 #987FE1 #C0B1EC

Accessibility & contrast

On white

5.62
#704ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#704ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED5#FFFFFF#000000##FFFFFF
##704ED51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#4F6E8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704ed5;
/* rgb */ color: rgb(112, 78, 213);
/* oklch */ color: oklch(53.5% 0.197 289.6);
Tailwind
colors: {
  custom: {
    50: '#a181e3',
    500: '#704ed5',
    950: '#000000',
  },
}
SCSS
$custom: #704ed5;
$custom-light: #a181e3;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed5",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 255.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53536,
    "c": 0.19705,
    "h": 289.6
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#704ED5
secondary
#CDDBA4
accent
#E543BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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