#704AC4#704AC4

#704AC4 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.181 H 293.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#704AC4
RGBrgb(112, 74, 196)
HSLhsl(259, 51%, 53%)
HSVhsv(259, 62%, 77%)
CMYKcmyk(42.9%, 62.2%, 0%, 23.1%)
CIE-LABlab(41.73, 43.98, -58.37)
CIE-LCHlch(41.73, 73.08, 307.00°)
OKLaboklab(51.65% 0.0719 -0.1666)
OKLCHoklch(51.65% 0.181 293.4)
XYZxyz(19.0920, 12.3273, 53.5873)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC4 #9EC44A
analogous
#4A61C4 #704AC4 #AD4AC4
triadic
#704AC4 #C4704A #4AC470
tetradic
#704AC4 #C44A61 #9EC44A #4AC4AD
square
#704AC4 #C44A61 #9EC44A #4AC4AD
split-complementary
#704AC4 #C4AD4A #61C44A
monochromatic
#3C246F #54339D #704AC4 #9478D3 #B9A6E2

Accessibility & contrast

On white

6.06
#704AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#704AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC4#FFFFFF#000000##FFFFFF
##704AC41.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#596680
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704ac4;
/* rgb */ color: rgb(112, 74, 196);
/* oklch */ color: oklch(51.6% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ed7',
    500: '#704ac4',
    950: '#000000',
  },
}
SCSS
$custom: #704ac4;
$custom-light: #9f7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac4",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 258.689,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.18144,
    "h": 293.4
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#704AC4
secondary
#BFCF9B
accent
#DA4DAE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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