#704AC6#704AC6

#704AC6 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.184 H 293.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#704AC6
RGBrgb(112, 74, 198)
HSLhsl(258, 52%, 53%)
HSVhsv(258, 63%, 78%)
CMYKcmyk(43.4%, 62.6%, 0%, 22.4%)
CIE-LABlab(41.87, 44.53, -59.30)
CIE-LCHlch(41.87, 74.16, 306.91°)
OKLaboklab(51.8% 0.0718 -0.1693)
OKLCHoklch(51.8% 0.184 293)
XYZxyz(19.3211, 12.4190, 54.7942)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC6 #A0C64A
analogous
#4A62C6 #704AC6 #AE4AC6
triadic
#704AC6 #C6704A #4AC670
tetradic
#704AC6 #C64A62 #A0C64A #4AC6AE
square
#704AC6 #C64A62 #A0C64A #4AC6AE
split-complementary
#704AC6 #C6AE4A #62C64A
monochromatic
#3C2472 #5432A0 #704AC6 #9579D5 #BAA7E3

Accessibility & contrast

On white

6.03
#704AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#704AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC6#FFFFFF#000000##FFFFFF
##704AC61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#586781
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ac6;
/* rgb */ color: rgb(112, 74, 198);
/* oklch */ color: oklch(51.8% 0.184 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f7ed8',
    500: '#704ac6',
    950: '#000000',
  },
}
SCSS
$custom: #704ac6;
$custom-light: #9f7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac6",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 258.387,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.18389,
    "h": 293
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#704AC6
secondary
#C0D19B
accent
#DC4CB0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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