#704EE1#704EE1

#704EE1 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.212 H 287.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#704EE1
RGBrgb(112, 78, 225)
HSLhsl(254, 71%, 59%)
HSVhsv(254, 65%, 88%)
CMYKcmyk(50.2%, 65.3%, 0%, 11.8%)
CIE-LABlab(44.70, 49.91, -70.21)
CIE-LCHlch(44.70, 86.14, 305.41°)
OKLaboklab(54.47% 0.0649 -0.2014)
OKLCHoklch(54.47% 0.212 287.9)
XYZxyz(22.9931, 14.3287, 72.7737)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE1 #BFE14E
analogous
#4E75E1 #704EE1 #BA4EE1
triadic
#704EE1 #E1704E #4EE170
tetradic
#704EE1 #E14E75 #BFE14E #4EE1BA
square
#704EE1 #E14E75 #BFE14E #4EE1BA
split-complementary
#704EE1 #E1BA4E #75E14E
monochromatic
#381A9A #4B23CF #704EE1 #9A82EA #C5B7F3

Accessibility & contrast

On white

5.43
#704EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#704EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EE1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EE1#FFFFFF#000000##FFFFFF
##704EE11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#477291
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ee1;
/* rgb */ color: rgb(112, 78, 225);
/* oklch */ color: oklch(54.5% 0.212 287.9);
Tailwind
colors: {
  custom: {
    50: '#a282eb',
    500: '#704ee1',
    950: '#000000',
  },
}
SCSS
$custom: #704ee1;
$custom-light: #a282eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee1",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 253.878,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.21159,
    "h": 287.9
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#704EE1
secondary
#D5E2A9
accent
#EE3AC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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