#704AD2#704AD2

#704AD2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.198 H 290.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#704AD2
RGBrgb(112, 74, 210)
HSLhsl(257, 60%, 56%)
HSVhsv(257, 65%, 82%)
CMYKcmyk(46.7%, 64.8%, 0%, 17.6%)
CIE-LABlab(42.76, 47.86, -64.80)
CIE-LCHlch(42.76, 80.56, 306.45°)
OKLaboklab(52.71% 0.0706 -0.1855)
OKLCHoklch(52.71% 0.198 290.8)
XYZxyz(20.7605, 12.9947, 62.3746)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AD2 #ACD24A
analogous
#4A68D2 #704AD2 #B44AD2
triadic
#704AD2 #D2704A #4AD270
tetradic
#704AD2 #D24A68 #ACD24A #4AD2B4
square
#704AD2 #D24A68 #ACD24A #4AD2B4
split-complementary
#704AD2 #D2B44A #68D24A
monochromatic
#3B2081 #522CB2 #704AD2 #977BDE #BDACEA

Accessibility & contrast

On white

5.83
#704AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#704AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AD2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AD2#FFFFFF#000000##FFFFFF
##704AD21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#516B87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ad2;
/* rgb */ color: rgb(112, 74, 210);
/* oklch */ color: oklch(52.7% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#a17fe1',
    500: '#704ad2',
    950: '#000000',
  },
}
SCSS
$custom: #704ad2;
$custom-light: #a17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ad2",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 256.765,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.19848,
    "h": 290.8
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#704AD2
secondary
#C8D8A0
accent
#E344B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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