#704FA8#704FA8

#704FA8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.5% C 0.138 H 298.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#704FA8
RGBrgb(112, 79, 168)
HSLhsl(262, 36%, 48%)
HSVhsv(262, 53%, 66%)
CMYKcmyk(33.3%, 53%, 0%, 34.1%)
CIE-LABlab(41.00, 33.49, -43.10)
CIE-LCHlch(41.00, 54.58, 307.85°)
OKLaboklab(50.53% 0.0659 -0.1217)
OKLCHoklch(50.53% 0.138 298.4)
XYZxyz(16.5442, 11.8637, 38.4565)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA8 #87A84F
analogous
#4F5AA8 #704FA8 #9C4FA8
triadic
#704FA8 #A8704F #4FA870
tetradic
#704FA8 #A84F5A #87A84F #4FA89C
square
#704FA8 #A84F5A #87A84F #4FA89C
split-complementary
#704FA8 #A89C4F #5AA84F
monochromatic
#382855 #543B7E #704FA8 #9176BE #B29FD2

Accessibility & contrast

On white

6.23
#704FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA8#FFFFFF#000000##FFFFFF
##704FA81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#646074
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704fa8;
/* rgb */ color: rgb(112, 79, 168);
/* oklch */ color: oklch(50.5% 0.138 298.4);
Tailwind
colors: {
  custom: {
    50: '#9c81c2',
    500: '#704fa8',
    950: '#000000',
  },
}
SCSS
$custom: #704fa8;
$custom-light: #9c81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa8",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 262.247,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.13841,
    "h": 298.4
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#704FA8
secondary
#AFBF94
accent
#CC5CA2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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