#704FAA#704FAA

#704FAA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.141 H 297.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#704FAA
RGBrgb(112, 79, 170)
HSLhsl(262, 37%, 49%)
HSVhsv(262, 54%, 67%)
CMYKcmyk(34.1%, 53.5%, 0%, 33.3%)
CIE-LABlab(41.12, 34.02, -44.09)
CIE-LCHlch(41.12, 55.69, 307.65°)
OKLaboklab(50.65% 0.066 -0.1246)
OKLCHoklch(50.65% 0.141 297.9)
XYZxyz(16.7320, 11.9388, 39.4453)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FAA #89AA4F
analogous
#4F5CAA #704FAA #9E4FAA
triadic
#704FAA #AA704F #4FAA70
tetradic
#704FAA #AA4F5C #89AA4F #4FAA9E
square
#704FAA #AA4F5C #89AA4F #4FAA9E
split-complementary
#704FAA #AA9E4F #5CAA4F
monochromatic
#392856 #543C80 #704FAA #9177C0 #B3A0D3

Accessibility & contrast

On white

6.20
#704FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#704FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FAA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FAA#FFFFFF#000000##FFFFFF
##704FAA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#636175
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704faa;
/* rgb */ color: rgb(112, 79, 170);
/* oklch */ color: oklch(50.7% 0.141 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c81c4',
    500: '#704faa',
    950: '#000000',
  },
}
SCSS
$custom: #704faa;
$custom-light: #9c81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#704faa",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 261.758,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.14104,
    "h": 297.9
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#704FAA
secondary
#B0C095
accent
#CD5BA3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #704FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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