#704FE7#704FE7

#704FE7 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.218 H 286.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#704FE7
RGBrgb(112, 79, 231)
HSLhsl(253, 76%, 61%)
HSVhsv(253, 66%, 91%)
CMYKcmyk(51.5%, 65.8%, 0%, 9.4%)
CIE-LABlab(45.37, 51.07, -72.52)
CIE-LCHlch(45.37, 88.70, 305.15°)
OKLaboklab(55.1% 0.0633 -0.2082)
OKLCHoklch(55.1% 0.218 286.9)
XYZxyz(23.8976, 14.8050, 77.1843)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE7 #C6E74F
analogous
#4F7AE7 #704FE7 #BC4FE7
triadic
#704FE7 #E7704F #4FE770
tetradic
#704FE7 #E74F7A #C6E74F #4FE7BC
square
#704FE7 #E74F7A #C6E74F #4FE7BC
split-complementary
#704FE7 #E7BC4F #7AE74F
monochromatic
#3517A5 #471EDB #704FE7 #9C85EE #C8BBF6

Accessibility & contrast

On white

5.30
#704FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#704FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE7#FFFFFF#000000##FFFFFF
##704FE71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#427594
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704fe7;
/* rgb */ color: rgb(112, 79, 231);
/* oklch */ color: oklch(55.1% 0.218 286.9);
Tailwind
colors: {
  custom: {
    50: '#a382f0',
    500: '#704fe7',
    950: '#000000',
  },
}
SCSS
$custom: #704fe7;
$custom-light: #a382f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 253.026,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.21758,
    "h": 286.9
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#704FE7
secondary
#D9E6AC
accent
#D80DAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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