#704ED8#704ED8

#704ED8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.8% C 0.201 H 289.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#704ED8
RGBrgb(112, 78, 216)
HSLhsl(255, 64%, 58%)
HSVhsv(255, 64%, 85%)
CMYKcmyk(48.1%, 63.9%, 0%, 15.3%)
CIE-LABlab(44.02, 47.35, -66.19)
CIE-LCHlch(44.02, 81.38, 305.58°)
OKLaboklab(53.77% 0.066 -0.1896)
OKLCHoklch(53.77% 0.201 289.2)
XYZxyz(21.7976, 13.8505, 66.4773)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED8 #B6D84E
analogous
#4E71D8 #704ED8 #B54ED8
triadic
#704ED8 #D8704E #4ED870
tetradic
#704ED8 #D84E71 #B6D84E #4ED8B5
square
#704ED8 #D84E71 #B6D84E #4ED8B5
split-complementary
#704ED8 #D8B54E #71D84E
monochromatic
#3A1F8D #4F2ABF #704ED8 #9980E3 #C1B2EE

Accessibility & contrast

On white

5.57
#704ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#704ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED8#FFFFFF#000000##FFFFFF
##704ED81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#4D6F8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ed8;
/* rgb */ color: rgb(112, 78, 216);
/* oklch */ color: oklch(53.8% 0.201 289.2);
Tailwind
colors: {
  custom: {
    50: '#a181e5',
    500: '#704ed8',
    950: '#000000',
  },
}
SCSS
$custom: #704ed8;
$custom-light: #a181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed8",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 254.783,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.20072,
    "h": 289.2
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#704ED8
secondary
#CFDDA5
accent
#E741BE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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