#704AE8#704AE8

#704AE8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.225 H 287.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#704AE8
RGBrgb(112, 74, 232)
HSLhsl(254, 77%, 60%)
HSVhsv(254, 68%, 91%)
CMYKcmyk(51.7%, 68.1%, 0%, 9%)
CIE-LABlab(44.47, 54.02, -74.55)
CIE-LCHlch(44.47, 92.06, 305.93°)
OKLaboklab(54.48% 0.0676 -0.2141)
OKLCHoklch(54.48% 0.225 287.5)
XYZxyz(23.6921, 14.1673, 77.8145)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE8 #C2E84A
analogous
#4A73E8 #704AE8 #BF4AE8
triadic
#704AE8 #E8704A #4AE870
tetradic
#704AE8 #E84A73 #C2E84A #4AE8BF
square
#704AE8 #E84A73 #C2E84A #4AE8BF
split-complementary
#704AE8 #E8BF4A #73E84A
monochromatic
#3715A3 #491CD9 #704AE8 #9B80EF #C6B7F6

Accessibility & contrast

On white

5.48
#704AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#704AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE8#FFFFFF#000000##FFFFFF
##704AE81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#427393
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ae8;
/* rgb */ color: rgb(112, 74, 232);
/* oklch */ color: oklch(54.5% 0.225 287.5);
Tailwind
colors: {
  custom: {
    50: '#a37ff0',
    500: '#704ae8',
    950: '#000000',
  },
}
SCSS
$custom: #704ae8;
$custom-light: #a37ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae8",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 254.43,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.22453,
    "h": 287.5
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#704AE8
secondary
#D7E5A8
accent
#F434C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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