#704FA3#704FA3

#704FA3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.2% C 0.132 H 299.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#704FA3
RGBrgb(112, 79, 163)
HSLhsl(264, 35%, 47%)
HSVhsv(264, 52%, 64%)
CMYKcmyk(31.3%, 51.5%, 0%, 36.1%)
CIE-LABlab(40.70, 32.16, -40.59)
CIE-LCHlch(40.70, 51.79, 308.39°)
OKLaboklab(50.21% 0.0655 -0.1144)
OKLCHoklch(50.21% 0.132 299.8)
XYZxyz(16.0874, 11.6809, 36.0503)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA3 #82A34F
analogous
#4F58A3 #704FA3 #9A4FA3
triadic
#704FA3 #A3704F #4FA370
tetradic
#704FA3 #A34F58 #82A34F #4FA39A
square
#704FA3 #A34F58 #82A34F #4FA39A
split-complementary
#704FA3 #A39A4F #58A34F
monochromatic
#372751 #543B7A #704FA3 #9074BB #B19DCF

Accessibility & contrast

On white

6.29
#704FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#704FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA3#FFFFFF#000000##FFFFFF
##704FA31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#3B5FA1
Tritanopia (blue-blind)
#665F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704fa3;
/* rgb */ color: rgb(112, 79, 163);
/* oklch */ color: oklch(50.2% 0.132 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c81bf',
    500: '#704fa3',
    950: '#000000',
  },
}
SCSS
$custom: #704fa3;
$custom-light: #9c81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa3",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 263.571,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.13181,
    "h": 299.8
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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