#704AD5#704AD5

#704AD5 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.202 H 290.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#704AD5
RGBrgb(112, 74, 213)
HSLhsl(256, 62%, 56%)
HSVhsv(256, 65%, 84%)
CMYKcmyk(47.4%, 65.3%, 0%, 16.5%)
CIE-LABlab(42.98, 48.70, -66.16)
CIE-LCHlch(42.98, 82.15, 306.36°)
OKLaboklab(52.95% 0.0703 -0.1895)
OKLCHoklch(52.95% 0.202 290.4)
XYZxyz(21.1377, 13.1456, 64.3615)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AD5 #AFD54A
analogous
#4A6AD5 #704AD5 #B64AD5
triadic
#704AD5 #D5704A #4AD570
tetradic
#704AD5 #D54A6A #AFD54A #4AD5B6
square
#704AD5 #D54A6A #AFD54A #4AD5B6
split-complementary
#704AD5 #D5B64A #6AD54A
monochromatic
#3B1F86 #512BB7 #704AD5 #977CE1 #BEADEC

Accessibility & contrast

On white

5.79
#704AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AD5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AD5#FFFFFF#000000##FFFFFF
##704AD51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#506C89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ad5;
/* rgb */ color: rgb(112, 74, 213);
/* oklch */ color: oklch(52.9% 0.202 290.4);
Tailwind
colors: {
  custom: {
    50: '#a17fe3',
    500: '#704ad5',
    950: '#000000',
  },
}
SCSS
$custom: #704ad5;
$custom-light: #a17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#704ad5",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 256.403,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.20209,
    "h": 290.4
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#704AD5
secondary
#CADAA1
accent
#E542B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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