#704ED9#704ED9

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

Color values

HEX#704ED9
RGBrgb(112, 78, 217)
HSLhsl(255, 65%, 58%)
HSVhsv(255, 64%, 85%)
CMYKcmyk(48.4%, 64.1%, 0%, 14.9%)
CIE-LABlab(44.09, 47.64, -66.64)
CIE-LCHlch(44.09, 81.92, 305.56°)
OKLaboklab(53.85% 0.0659 -0.1909)
OKLCHoklch(53.85% 0.202 289)
XYZxyz(21.9273, 13.9024, 67.1603)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED9 #B7D94E
analogous
#4E72D9 #704ED9 #B54ED9
triadic
#704ED9 #D9704E #4ED970
tetradic
#704ED9 #D94E72 #B7D94E #4ED9B5
square
#704ED9 #D94E72 #B7D94E #4ED9B5
split-complementary
#704ED9 #D9B54E #72D94E
monochromatic
#3A1F8E #4E29C0 #704ED9 #9980E4 #C1B3EF

Accessibility & contrast

On white

5.55
#704ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#704ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED9#FFFFFF#000000##FFFFFF
##704ED91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#4D708D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ed9;
/* rgb */ color: rgb(112, 78, 217);
/* oklch */ color: oklch(53.8% 0.202 289.0);
Tailwind
colors: {
  custom: {
    50: '#a181e6',
    500: '#704ed9',
    950: '#000000',
  },
}
SCSS
$custom: #704ed9;
$custom-light: #a181e6;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed9",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 254.676,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.20193,
    "h": 289
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#704ED9
secondary
#D0DDA6
accent
#E840BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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