#704AC7#704AC7

#704AC7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.185 H 292.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#704AC7
RGBrgb(112, 74, 199)
HSLhsl(258, 53%, 54%)
HSVhsv(258, 63%, 78%)
CMYKcmyk(43.7%, 62.8%, 0%, 22%)
CIE-LABlab(41.95, 44.81, -59.76)
CIE-LCHlch(41.95, 74.70, 306.86°)
OKLaboklab(51.87% 0.0717 -0.1707)
OKLCHoklch(51.87% 0.185 292.8)
XYZxyz(19.4369, 12.4653, 55.4037)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC7 #A1C74A
analogous
#4A62C7 #704AC7 #AE4AC7
triadic
#704AC7 #C7704A #4AC770
tetradic
#704AC7 #C74A62 #A1C74A #4AC7AE
square
#704AC7 #C74A62 #A1C74A #4AC7AE
split-complementary
#704AC7 #C7AE4A #62C74A
monochromatic
#3C2473 #5432A2 #704AC7 #9579D5 #BAA7E4

Accessibility & contrast

On white

6.01
#704AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC7#FFFFFF#000000##FFFFFF
##704AC71.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#576782
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ac7;
/* rgb */ color: rgb(112, 74, 199);
/* oklch */ color: oklch(51.9% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#9f7ed9',
    500: '#704ac7',
    950: '#000000',
  },
}
SCSS
$custom: #704ac7;
$custom-light: #9f7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac7",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 258.24,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.18512,
    "h": 292.8
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#704AC7
secondary
#C1D19C
accent
#DC4CB0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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