#704EA7#704EA7

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

Color values

HEX#704EA7
RGBrgb(112, 78, 167)
HSLhsl(263, 36%, 48%)
HSVhsv(263, 53%, 65%)
CMYKcmyk(32.9%, 53.3%, 0%, 34.5%)
CIE-LABlab(40.71, 33.81, -42.97)
CIE-LCHlch(40.71, 54.68, 308.20°)
OKLaboklab(50.29% 0.0672 -0.1213)
OKLCHoklch(50.29% 0.139 299)
XYZxyz(16.3798, 11.6834, 37.9439)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA7 #85A74E
analogous
#4E58A7 #704EA7 #9C4EA7
triadic
#704EA7 #A7704E #4EA770
tetradic
#704EA7 #A74E58 #85A74E #4EA79C
square
#704EA7 #A74E58 #85A74E #4EA79C
split-complementary
#704EA7 #A79C4E #58A74E
monochromatic
#382754 #543B7D #704EA7 #9074BE #B29ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704EA7#FFFFFF#000000##FFFFFF
##704EA71.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)
#2C60AA
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#645F73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea7;
/* rgb */ color: rgb(112, 78, 167);
/* oklch */ color: oklch(50.3% 0.139 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c80c2',
    500: '#704ea7',
    950: '#000000',
  },
}
SCSS
$custom: #704ea7;
$custom-light: #9c80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea7",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 262.921,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.13869,
    "h": 299
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#704EA7
secondary
#AEBE92
accent
#CC5BA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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