#704AD3#704AD3

#704AD3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.200 H 290.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#704AD3
RGBrgb(112, 74, 211)
HSLhsl(257, 61%, 56%)
HSVhsv(257, 65%, 83%)
CMYKcmyk(46.9%, 64.9%, 0%, 17.3%)
CIE-LABlab(42.83, 48.14, -65.25)
CIE-LCHlch(42.83, 81.09, 306.42°)
OKLaboklab(52.79% 0.0705 -0.1868)
OKLCHoklch(52.79% 0.2 290.7)
XYZxyz(20.8854, 13.0447, 63.0328)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AD3 #ADD34A
analogous
#4A68D3 #704AD3 #B44AD3
triadic
#704AD3 #D3704A #4AD370
tetradic
#704AD3 #D34A68 #ADD34A #4AD3B4
square
#704AD3 #D34A68 #ADD34A #4AD3B4
split-complementary
#704AD3 #D3B44A #68D34A
monochromatic
#3B2083 #522CB4 #704AD3 #977BDF #BEACEB

Accessibility & contrast

On white

5.82
#704AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#704AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AD3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AD3#FFFFFF#000000##FFFFFF
##704AD31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#516B88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ad3;
/* rgb */ color: rgb(112, 74, 211);
/* oklch */ color: oklch(52.8% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#a17fe1',
    500: '#704ad3',
    950: '#000000',
  },
}
SCSS
$custom: #704ad3;
$custom-light: #a17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ad3",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 256.642,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.19969,
    "h": 290.7
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#704AD3
secondary
#C9D9A0
accent
#E444B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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