#704AE3#704AE3

#704AE3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.219 H 288.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#704AE3
RGBrgb(112, 74, 227)
HSLhsl(255, 73%, 59%)
HSVhsv(255, 67%, 89%)
CMYKcmyk(50.7%, 67.4%, 0%, 11%)
CIE-LABlab(44.07, 52.62, -72.37)
CIE-LCHlch(44.07, 89.48, 306.02°)
OKLaboklab(54.07% 0.0684 -0.2077)
OKLCHoklch(54.07% 0.219 288.2)
XYZxyz(22.9919, 13.8873, 74.1272)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE3 #BDE34A
analogous
#4A71E3 #704AE3 #BD4AE3
triadic
#704AE3 #E3704A #4AE370
tetradic
#704AE3 #E34A71 #BDE34A #4AE3BD
square
#704AE3 #E34A71 #BDE34A #4AE3BD
split-complementary
#704AE3 #E3BD4A #71E34A
monochromatic
#38189B #4C20D0 #704AE3 #9A7FEB #C4B4F3

Accessibility & contrast

On white

5.56
#704AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#704AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE3#FFFFFF#000000##FFFFFF
##704AE31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#467191
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ae3;
/* rgb */ color: rgb(112, 74, 227);
/* oklch */ color: oklch(54.1% 0.219 288.2);
Tailwind
colors: {
  custom: {
    50: '#a37fed',
    500: '#704ae3',
    950: '#000000',
  },
}
SCSS
$custom: #704ae3;
$custom-light: #a37fed;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae3",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 254.902,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.2187,
    "h": 288.2
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#704AE3
secondary
#D4E2A6
accent
#F038C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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