#704DE4#704DE4

#704DE4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.216 H 287.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#704DE4
RGBrgb(112, 77, 228)
HSLhsl(254, 74%, 60%)
HSVhsv(254, 66%, 89%)
CMYKcmyk(50.9%, 66.2%, 0%, 10.6%)
CIE-LABlab(44.73, 51.30, -71.86)
CIE-LCHlch(44.73, 88.29, 305.52°)
OKLaboklab(54.57% 0.0655 -0.2062)
OKLCHoklch(54.57% 0.216 287.6)
XYZxyz(23.3354, 14.3528, 74.9245)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE4 #C1E44D
analogous
#4D76E4 #704DE4 #BB4DE4
triadic
#704DE4 #E4704D #4DE470
tetradic
#704DE4 #E44D76 #C1E44D #4DE4BB
square
#704DE4 #E44D76 #C1E44D #4DE4BB
split-complementary
#704DE4 #E4BB4D #76E44D
monochromatic
#37189F #4A20D4 #704DE4 #9B82EC #C5B7F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704DE4#FFFFFF#000000##FFFFFF
##704DE41.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)
#006DE9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#457392
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704de4;
/* rgb */ color: rgb(112, 77, 228);
/* oklch */ color: oklch(54.6% 0.216 287.6);
Tailwind
colors: {
  custom: {
    50: '#a381ee',
    500: '#704de4',
    950: '#000000',
  },
}
SCSS
$custom: #704de4;
$custom-light: #a381ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704de4",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 253.907,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.21637,
    "h": 287.6
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#704DE4
secondary
#D6E4A9
accent
#F037C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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