#704EA9#704EA9

#704EA9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.141 H 298.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#704EA9
RGBrgb(112, 78, 169)
HSLhsl(262, 37%, 48%)
HSVhsv(262, 54%, 66%)
CMYKcmyk(33.7%, 53.8%, 0%, 33.7%)
CIE-LABlab(40.83, 34.34, -43.96)
CIE-LCHlch(40.83, 55.79, 308.00°)
OKLaboklab(50.42% 0.0673 -0.1242)
OKLCHoklch(50.42% 0.141 298.4)
XYZxyz(16.5662, 11.7579, 38.9251)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA9 #87A94E
analogous
#4E59A9 #704EA9 #9D4EA9
triadic
#704EA9 #A9704E #4EA970
tetradic
#704EA9 #A94E59 #87A94E #4EA99D
square
#704EA9 #A94E59 #87A94E #4EA99D
split-complementary
#704EA9 #A99D4E #59A94E
monochromatic
#382755 #543B7F #704EA9 #9175BF #B29FD3

Accessibility & contrast

On white

6.27
#704EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#704EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA9#FFFFFF#000000##FFFFFF
##704EA91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#646074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea9;
/* rgb */ color: rgb(112, 78, 169);
/* oklch */ color: oklch(50.4% 0.141 298.4);
Tailwind
colors: {
  custom: {
    50: '#9c80c3',
    500: '#704ea9',
    950: '#000000',
  },
}
SCSS
$custom: #704ea9;
$custom-light: #9c80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea9",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 262.418,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.14131,
    "h": 298.4
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#704EA9
secondary
#AFBF93
accent
#CD5BA2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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