#704AC2#704AC2

#704AC2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.179 H 293.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#704AC2
RGBrgb(112, 74, 194)
HSLhsl(259, 50%, 53%)
HSVhsv(259, 62%, 76%)
CMYKcmyk(42.3%, 61.9%, 0%, 23.9%)
CIE-LABlab(41.59, 43.43, -57.43)
CIE-LCHlch(41.59, 72.01, 307.10°)
OKLaboklab(51.5% 0.0721 -0.1638)
OKLCHoklch(51.5% 0.179 293.7)
XYZxyz(18.8659, 12.2369, 52.3964)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC2 #9CC24A
analogous
#4A60C2 #704AC2 #AC4AC2
triadic
#704AC2 #C2704A #4AC270
tetradic
#704AC2 #C24A60 #9CC24A #4AC2AC
square
#704AC2 #C24A60 #9CC24A #4AC2AC
split-complementary
#704AC2 #C2AC4A #60C24A
monochromatic
#3C256D #55349B #704AC2 #9478D1 #B8A6E1

Accessibility & contrast

On white

6.09
#704AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#704AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC2#FFFFFF#000000##FFFFFF
##704AC21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#5A657F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704ac2;
/* rgb */ color: rgb(112, 74, 194);
/* oklch */ color: oklch(51.5% 0.179 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f7ed5',
    500: '#704ac2',
    950: '#000000',
  },
}
SCSS
$custom: #704ac2;
$custom-light: #9f7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac2",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 259,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.17897,
    "h": 293.7
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#704AC2
secondary
#BDCE9A
accent
#D94FAD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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