#704EA4#704EA4

#704EA4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.135 H 299.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#704EA4
RGBrgb(112, 78, 164)
HSLhsl(264, 36%, 47%)
HSVhsv(264, 52%, 64%)
CMYKcmyk(31.7%, 52.4%, 0%, 35.7%)
CIE-LABlab(40.53, 33.02, -41.47)
CIE-LCHlch(40.53, 53.01, 308.53°)
OKLaboklab(50.1% 0.067 -0.1169)
OKLCHoklch(50.1% 0.135 299.8)
XYZxyz(16.1057, 11.5737, 36.5002)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA4 #82A44E
analogous
#4E57A4 #704EA4 #9B4EA4
triadic
#704EA4 #A4704E #4EA470
tetradic
#704EA4 #A44E57 #82A44E #4EA49B
square
#704EA4 #A44E57 #82A44E #4EA49B
split-complementary
#704EA4 #A49B4E #57A44E
monochromatic
#372751 #543A7B #704EA4 #9073BC #B19CD0

Accessibility & contrast

On white

6.34
#704EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#704EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA4#FFFFFF#000000##FFFFFF
##704EA41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#395FA2
Tritanopia (blue-blind)
#655E71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea4;
/* rgb */ color: rgb(112, 78, 164);
/* oklch */ color: oklch(50.1% 0.135 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c80bf',
    500: '#704ea4',
    950: '#000000',
  },
}
SCSS
$custom: #704ea4;
$custom-light: #9c80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea4",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 263.721,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.13476,
    "h": 299.8
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#704EA4
secondary
#ABBD91
accent
#CC5CA0
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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