#704EA3#704EA3

#704EA3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.133 H 300.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#704EA3
RGBrgb(112, 78, 163)
HSLhsl(264, 35%, 47%)
HSVhsv(264, 52%, 64%)
CMYKcmyk(31.3%, 52.1%, 0%, 36.1%)
CIE-LABlab(40.47, 32.75, -40.97)
CIE-LCHlch(40.47, 52.45, 308.65°)
OKLaboklab(50.04% 0.0669 -0.1155)
OKLCHoklch(50.04% 0.133 300.1)
XYZxyz(16.0158, 11.5378, 36.0265)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA3 #81A34E
analogous
#4E56A3 #704EA3 #9B4EA3
triadic
#704EA3 #A3704E #4EA370
tetradic
#704EA3 #A34E56 #81A34E #4EA39B
square
#704EA3 #A34E56 #81A34E #4EA39B
split-complementary
#704EA3 #A39B4E #56A34E
monochromatic
#372650 #543A7A #704EA3 #9072BC #B19CD0

Accessibility & contrast

On white

6.35
#704EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704EA3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA3#FFFFFF#000000##FFFFFF
##704EA31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#665E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ea3;
/* rgb */ color: rgb(112, 78, 163);
/* oklch */ color: oklch(50.0% 0.133 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c80bf',
    500: '#704ea3',
    950: '#000000',
  },
}
SCSS
$custom: #704ea3;
$custom-light: #9c80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea3",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 264,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.13344,
    "h": 300.1
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#704EA3
secondary
#ABBC91
accent
#CB5C9F
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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