#704AE4#704AE4

#704AE4 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.220 H 288.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#704AE4
RGBrgb(112, 74, 228)
HSLhsl(255, 74%, 59%)
HSVhsv(255, 68%, 89%)
CMYKcmyk(50.9%, 67.5%, 0%, 10.6%)
CIE-LABlab(44.15, 52.90, -72.81)
CIE-LCHlch(44.15, 89.99, 306.00°)
OKLaboklab(54.15% 0.0682 -0.209)
OKLCHoklch(54.15% 0.22 288.1)
XYZxyz(23.1304, 13.9427, 74.8562)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE4 #BEE44A
analogous
#4A71E4 #704AE4 #BD4AE4
triadic
#704AE4 #E4704A #4AE470
tetradic
#704AE4 #E44A71 #BEE44A #4AE4BD
square
#704AE4 #E44A71 #BEE44A #4AE4BD
split-complementary
#704AE4 #E4BD4A #71E44A
monochromatic
#38179C #4B1FD2 #704AE4 #9A7FEC #C4B5F4

Accessibility & contrast

On white

5.54
#704AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#704AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE4#FFFFFF#000000##FFFFFF
##704AE41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#457191
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ae4;
/* rgb */ color: rgb(112, 74, 228);
/* oklch */ color: oklch(54.2% 0.220 288.1);
Tailwind
colors: {
  custom: {
    50: '#a37fee',
    500: '#704ae4',
    950: '#000000',
  },
}
SCSS
$custom: #704ae4;
$custom-light: #a37fee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae4",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 254.805,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.21986,
    "h": 288.1
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#704AE4
secondary
#D4E3A7
accent
#F137C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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