#704AE1#704AE1

#704AE1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.216 H 288.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#704AE1
RGBrgb(112, 74, 225)
HSLhsl(255, 72%, 59%)
HSVhsv(255, 67%, 88%)
CMYKcmyk(50.2%, 67.1%, 0%, 11.8%)
CIE-LABlab(43.91, 52.05, -71.49)
CIE-LCHlch(43.91, 88.44, 306.06°)
OKLaboklab(53.91% 0.0687 -0.2051)
OKLCHoklch(53.91% 0.216 288.5)
XYZxyz(22.7175, 13.7775, 72.6819)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AE1 #BBE14A
analogous
#4A6FE1 #704AE1 #BB4AE1
triadic
#704AE1 #E1704A #4AE170
tetradic
#704AE1 #E14A6F #BBE14A #4AE1BB
square
#704AE1 #E14A6F #BBE14A #4AE1BB
split-complementary
#704AE1 #E1BB4A #6FE14A
monochromatic
#391997 #4D22CC #704AE1 #997EEA #C3B3F2

Accessibility & contrast

On white

5.59
#704AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#704AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AE1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AE1#FFFFFF#000000##FFFFFF
##704AE11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#477090
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ae1;
/* rgb */ color: rgb(112, 74, 225);
/* oklch */ color: oklch(53.9% 0.216 288.5);
Tailwind
colors: {
  custom: {
    50: '#a27feb',
    500: '#704ae1',
    950: '#000000',
  },
}
SCSS
$custom: #704ae1;
$custom-light: #a27feb;
$custom-dark: #000000;
JSON
{
  "hex": "#704ae1",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 255.099,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.21634,
    "h": 288.5
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#704AE1
secondary
#D2E1A6
accent
#EE39C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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