#704FA9#704FA9

#704FA9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.140 H 298.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#704FA9
RGBrgb(112, 79, 169)
HSLhsl(262, 36%, 49%)
HSVhsv(262, 53%, 66%)
CMYKcmyk(33.7%, 53.3%, 0%, 33.7%)
CIE-LABlab(41.06, 33.76, -43.60)
CIE-LCHlch(41.06, 55.14, 307.75°)
OKLaboklab(50.59% 0.066 -0.1232)
OKLCHoklch(50.59% 0.14 298.2)
XYZxyz(16.6378, 11.9011, 38.9490)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA9 #88A94F
analogous
#4F5BA9 #704FA9 #9D4FA9
triadic
#704FA9 #A9704F #4FA970
tetradic
#704FA9 #A94F5B #88A94F #4FA99D
square
#704FA9 #A94F5B #88A94F #4FA99D
split-complementary
#704FA9 #A99D4F #5BA94F
monochromatic
#392856 #543C7F #704FA9 #9176BF #B2A0D3

Accessibility & contrast

On white

6.21
#704FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#704FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA9#FFFFFF#000000##FFFFFF
##704FA91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#646174
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704fa9;
/* rgb */ color: rgb(112, 79, 169);
/* oklch */ color: oklch(50.6% 0.140 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c81c3',
    500: '#704fa9',
    950: '#000000',
  },
}
SCSS
$custom: #704fa9;
$custom-light: #9c81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa9",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 262,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.13972,
    "h": 298.2
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#704FA9
secondary
#B0C094
accent
#CC5CA3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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