#704DE7#704DE7

#704DE7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.220 H 287.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#704DE7
RGBrgb(112, 77, 231)
HSLhsl(254, 76%, 60%)
HSVhsv(254, 67%, 91%)
CMYKcmyk(51.5%, 66.7%, 0%, 9.4%)
CIE-LABlab(44.97, 52.15, -73.17)
CIE-LCHlch(44.97, 89.85, 305.48°)
OKLaboklab(54.82% 0.0651 -0.2101)
OKLCHoklch(54.82% 0.22 287.2)
XYZxyz(23.7555, 14.5208, 77.1369)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE7 #C4E74D
analogous
#4D77E7 #704DE7 #BD4DE7
triadic
#704DE7 #E7704D #4DE770
tetradic
#704DE7 #E74D77 #C4E74D #4DE7BD
square
#704DE7 #E74D77 #C4E74D #4DE7BD
split-complementary
#704DE7 #E7BD4D #77E74D
monochromatic
#3616A4 #481DD9 #704DE7 #9B83EE #C7B9F6

Accessibility & contrast

On white

5.38
#704DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#704DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DE7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DE7#FFFFFF#000000##FFFFFF
##704DE71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#427494
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704de7;
/* rgb */ color: rgb(112, 77, 231);
/* oklch */ color: oklch(54.8% 0.220 287.2);
Tailwind
colors: {
  custom: {
    50: '#a381f0',
    500: '#704de7',
    950: '#000000',
  },
}
SCSS
$custom: #704de7;
$custom-light: #a381f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704de7",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 253.636,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54815,
    "c": 0.21993,
    "h": 287.2
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#704DE7
secondary
#D8E5AA
accent
#D80DAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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