#704DE3#704DE3

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

Color values

HEX#704DE3
RGBrgb(112, 77, 227)
HSLhsl(254, 73%, 60%)
HSVhsv(254, 66%, 89%)
CMYKcmyk(50.7%, 66.1%, 0%, 11%)
CIE-LABlab(44.66, 51.01, -71.42)
CIE-LCHlch(44.66, 87.76, 305.54°)
OKLaboklab(54.49% 0.0656 -0.2049)
OKLCHoklch(54.49% 0.215 287.8)
XYZxyz(23.1970, 14.2975, 74.1956)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE3 #C0E34D
analogous
#4D75E3 #704DE3 #BB4DE3
triadic
#704DE3 #E3704D #4DE370
tetradic
#704DE3 #E34D75 #C0E34D #4DE3BB
square
#704DE3 #E34D75 #C0E34D #4DE3BB
split-complementary
#704DE3 #E3BB4D #75E34D
monochromatic
#38199D #4A21D2 #704DE3 #9A82EB #C5B7F4

Accessibility & contrast

On white

5.44
#704DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#704DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DE3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DE3#FFFFFF#000000##FFFFFF
##704DE31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#467292
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704de3;
/* rgb */ color: rgb(112, 77, 227);
/* oklch */ color: oklch(54.5% 0.215 287.8);
Tailwind
colors: {
  custom: {
    50: '#a381ed',
    500: '#704de3',
    950: '#000000',
  },
}
SCSS
$custom: #704de3;
$custom-light: #a381ed;
$custom-dark: #000000;
JSON
{
  "hex": "#704de3",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 254,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.21517,
    "h": 287.8
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#704DE3
secondary
#D5E3A9
accent
#F038C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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