#704DE6#704DE6

#704DE6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.219 H 287.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#704DE6
RGBrgb(112, 77, 230)
HSLhsl(254, 75%, 60%)
HSVhsv(254, 67%, 90%)
CMYKcmyk(51.3%, 66.5%, 0%, 9.8%)
CIE-LABlab(44.89, 51.86, -72.73)
CIE-LCHlch(44.89, 89.33, 305.49°)
OKLaboklab(54.73% 0.0652 -0.2088)
OKLCHoklch(54.73% 0.219 287.3)
XYZxyz(23.6147, 14.4645, 76.3952)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE6 #C3E64D
analogous
#4D77E6 #704DE6 #BC4DE6
triadic
#704DE6 #E6704D #4DE670
tetradic
#704DE6 #E64D77 #C3E64D #4DE6BC
square
#704DE6 #E64D77 #C3E64D #4DE6BC
split-complementary
#704DE6 #E6BC4D #77E64D
monochromatic
#3717A2 #491ED8 #704DE6 #9B83EE #C6B8F5

Accessibility & contrast

On white

5.39
#704DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#704DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DE6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DE6#FFFFFF#000000##FFFFFF
##704DE61.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#437493
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704de6;
/* rgb */ color: rgb(112, 77, 230);
/* oklch */ color: oklch(54.7% 0.219 287.3);
Tailwind
colors: {
  custom: {
    50: '#a381ef',
    500: '#704de6',
    950: '#000000',
  },
}
SCSS
$custom: #704de6;
$custom-light: #a381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#704de6",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 253.725,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.21874,
    "h": 287.3
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#704DE6
secondary
#D7E5AA
accent
#D80EA9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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