#704FA7#704FA7

#704FA7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.137 H 298.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#704FA7
RGBrgb(112, 79, 167)
HSLhsl(263, 36%, 48%)
HSVhsv(263, 53%, 65%)
CMYKcmyk(32.9%, 52.7%, 0%, 34.5%)
CIE-LABlab(40.94, 33.22, -42.60)
CIE-LCHlch(40.94, 54.02, 307.95°)
OKLaboklab(50.46% 0.0658 -0.1202)
OKLCHoklch(50.46% 0.137 298.7)
XYZxyz(16.4514, 11.8266, 37.9677)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA7 #86A74F
analogous
#4F5AA7 #704FA7 #9C4FA7
triadic
#704FA7 #A7704F #4FA770
tetradic
#704FA7 #A74F5A #86A74F #4FA79C
square
#704FA7 #A74F5A #86A74F #4FA79C
split-complementary
#704FA7 #A79C4F #5AA74F
monochromatic
#382854 #543B7D #704FA7 #9175BE #B29FD2

Accessibility & contrast

On white

6.24
#704FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA7#FFFFFF#000000##FFFFFF
##704FA71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#646073
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704fa7;
/* rgb */ color: rgb(112, 79, 167);
/* oklch */ color: oklch(50.5% 0.137 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c81c2',
    500: '#704fa7',
    950: '#000000',
  },
}
SCSS
$custom: #704fa7;
$custom-light: #9c81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 262.5,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.13709,
    "h": 298.7
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#704FA7
secondary
#AEBE93
accent
#CC5CA2
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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