#704FAE#704FAE

#704FAE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.146 H 296.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#704FAE
RGBrgb(112, 79, 174)
HSLhsl(261, 38%, 50%)
HSVhsv(261, 55%, 68%)
CMYKcmyk(35.6%, 54.6%, 0%, 31.8%)
CIE-LABlab(41.36, 35.10, -46.07)
CIE-LCHlch(41.36, 57.92, 307.30°)
OKLaboklab(50.91% 0.0662 -0.1304)
OKLCHoklch(50.91% 0.146 296.9)
XYZxyz(17.1161, 12.0925, 41.4685)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FAE #8DAE4F
analogous
#4F5EAE #704FAE #9F4FAE
triadic
#704FAE #AE704F #4FAE70
tetradic
#704FAE #AE4F5E #8DAE4F #4FAE9F
square
#704FAE #AE4F5E #8DAE4F #4FAE9F
split-complementary
#704FAE #AE9F4F #5EAE4F
monochromatic
#3A295A #553C84 #704FAE #9278C2 #B4A2D5

Accessibility & contrast

On white

6.14
#704FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#704FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FAE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FAE#FFFFFF#000000##FFFFFF
##704FAE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B1
Deuteranopia (green-blind)
#3160AC
Tritanopia (blue-blind)
#626277
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704fae;
/* rgb */ color: rgb(112, 79, 174);
/* oklch */ color: oklch(50.9% 0.146 296.9);
Tailwind
colors: {
  custom: {
    50: '#9d81c7',
    500: '#704fae',
    950: '#000000',
  },
}
SCSS
$custom: #704fae;
$custom-light: #9d81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#704fae",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 260.842,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.14628,
    "h": 296.9
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#704FAE
secondary
#B3C297
accent
#CE5AA5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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