#704AE9#704AE9

#704AE9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.226 H 287.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#704AE9
RGBrgb(112, 74, 233)
HSLhsl(254, 78%, 60%)
HSVhsv(254, 68%, 91%)
CMYKcmyk(51.9%, 68.2%, 0%, 8.6%)
CIE-LABlab(44.55, 54.30, -74.98)
CIE-LCHlch(44.55, 92.58, 305.91°)
OKLaboklab(54.57% 0.0674 -0.2154)
OKLCHoklch(54.57% 0.226 287.4)
XYZxyz(23.8345, 14.2243, 78.5647)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE9 #C3E94A
analogous
#4A73E9 #704AE9 #C04AE9
triadic
#704AE9 #E9704A #4AE970
tetradic
#704AE9 #E94A73 #C3E94A #4AE9C0
square
#704AE9 #E94A73 #C3E94A #4AE9C0
split-complementary
#704AE9 #E9C04A #73E94A
monochromatic
#3714A5 #491BDB #704AE9 #9B81F0 #C6B7F6

Accessibility & contrast

On white

5.46
#704AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#704AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE9#FFFFFF#000000##FFFFFF
##704AE91.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#417394
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ae9;
/* rgb */ color: rgb(112, 74, 233);
/* oklch */ color: oklch(54.6% 0.226 287.4);
Tailwind
colors: {
  custom: {
    50: '#a47ff1',
    500: '#704ae9',
    950: '#000000',
  },
}
SCSS
$custom: #704ae9;
$custom-light: #a47ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae9",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 254.34,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.2257,
    "h": 287.4
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#704AE9
secondary
#D7E6A9
accent
#DB0BA9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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