#704AE5#704AE5

#704AE5 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.221 H 287.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#704AE5
RGBrgb(112, 74, 229)
HSLhsl(255, 75%, 59%)
HSVhsv(255, 68%, 90%)
CMYKcmyk(51.1%, 67.7%, 0%, 10.2%)
CIE-LABlab(44.23, 53.18, -73.25)
CIE-LCHlch(44.23, 90.51, 305.98°)
OKLaboklab(54.24% 0.0681 -0.2103)
OKLCHoklch(54.24% 0.221 287.9)
XYZxyz(23.2696, 13.9983, 75.5894)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE5 #BFE54A
analogous
#4A72E5 #704AE5 #BE4AE5
triadic
#704AE5 #E5704A #4AE570
tetradic
#704AE5 #E54A72 #BFE54A #4AE5BE
square
#704AE5 #E54A72 #BFE54A #4AE5BE
split-complementary
#704AE5 #E5BE4A #72E54A
monochromatic
#38179E #4B1ED3 #704AE5 #9A80ED #C5B5F4

Accessibility & contrast

On white

5.53
#704AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#704AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE5#FFFFFF#000000##FFFFFF
##704AE51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#447192
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ae5;
/* rgb */ color: rgb(112, 74, 229);
/* oklch */ color: oklch(54.2% 0.221 287.9);
Tailwind
colors: {
  custom: {
    50: '#a37fee',
    500: '#704ae5',
    950: '#000000',
  },
}
SCSS
$custom: #704ae5;
$custom-light: #a37fee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae5",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 254.71,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.22103,
    "h": 287.9
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#704AE5
secondary
#D5E4A7
accent
#F136C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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