#704EC4#704EC4

#704EC4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.176 H 292.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#704EC4
RGBrgb(112, 78, 196)
HSLhsl(257, 50%, 54%)
HSVhsv(257, 60%, 77%)
CMYKcmyk(42.9%, 60.2%, 0%, 23.1%)
CIE-LABlab(42.58, 41.73, -57.00)
CIE-LCHlch(42.58, 70.64, 306.21°)
OKLaboklab(52.27% 0.0674 -0.1625)
OKLCHoklch(52.27% 0.176 292.5)
XYZxyz(19.3676, 12.8785, 53.6792)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EC4 #A2C44E
analogous
#4E67C4 #704EC4 #AB4EC4
triadic
#704EC4 #C4704E #4EC470
tetradic
#704EC4 #C44E67 #A2C44E #4EC4AB
square
#704EC4 #C44E67 #A2C44E #4EC4AB
split-complementary
#704EC4 #C4AB4E #67C44E
monochromatic
#3C2672 #5435A0 #704EC4 #957CD3 #BAAAE3

Accessibility & contrast

On white

5.87
#704EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#704EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EC4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EC4#FFFFFF#000000##FFFFFF
##704EC41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#596881
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704ec4;
/* rgb */ color: rgb(112, 78, 196);
/* oklch */ color: oklch(52.3% 0.176 292.5);
Tailwind
colors: {
  custom: {
    50: '#9f81d7',
    500: '#704ec4',
    950: '#000000',
  },
}
SCSS
$custom: #704ec4;
$custom-light: #9f81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704ec4",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 257.288,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.17596,
    "h": 292.5
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#704EC4
secondary
#C2D09E
accent
#DA4EB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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