#704EA5#704EA5

#704EA5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.136 H 299.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#704EA5
RGBrgb(112, 78, 165)
HSLhsl(263, 36%, 48%)
HSVhsv(263, 53%, 65%)
CMYKcmyk(32.1%, 52.7%, 0%, 35.3%)
CIE-LABlab(40.59, 33.28, -41.97)
CIE-LCHlch(40.59, 53.56, 308.41°)
OKLaboklab(50.17% 0.067 -0.1184)
OKLCHoklch(50.17% 0.136 299.5)
XYZxyz(16.1964, 11.6100, 36.9777)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA5 #83A54E
analogous
#4E58A5 #704EA5 #9B4EA5
triadic
#704EA5 #A5704E #4EA570
tetradic
#704EA5 #A54E58 #83A54E #4EA59B
square
#704EA5 #A54E58 #83A54E #4EA59B
split-complementary
#704EA5 #A59B4E #58A54E
monochromatic
#382752 #543A7B #704EA5 #9073BD #B19DD1

Accessibility & contrast

On white

6.32
#704EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#704EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA5#FFFFFF#000000##FFFFFF
##704EA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#655F72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea5;
/* rgb */ color: rgb(112, 78, 165);
/* oklch */ color: oklch(50.2% 0.136 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c80c0',
    500: '#704ea5',
    950: '#000000',
  },
}
SCSS
$custom: #704ea5;
$custom-light: #9c80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea5",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 263.448,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.13606,
    "h": 299.5
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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