#704ED1#704ED1

#704ED1 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.192 H 290.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#704ED1
RGBrgb(112, 78, 209)
HSLhsl(256, 59%, 56%)
HSVhsv(256, 63%, 82%)
CMYKcmyk(46.4%, 62.7%, 0%, 18%)
CIE-LABlab(43.50, 45.38, -63.01)
CIE-LCHlch(43.50, 77.65, 305.76°)
OKLaboklab(53.23% 0.0666 -0.1802)
OKLCHoklch(53.23% 0.192 290.3)
XYZxyz(20.9119, 13.4962, 61.8124)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED1 #AFD14E
analogous
#4E6ED1 #704ED1 #B24ED1
triadic
#704ED1 #D1704E #4ED170
tetradic
#704ED1 #D14E6E #AFD14E #4ED1B2
square
#704ED1 #D14E6E #AFD14E #4ED1B2
split-complementary
#704ED1 #D1B24E #6ED14E
monochromatic
#3B2283 #512FB3 #704ED1 #977FDE #BEAFEA

Accessibility & contrast

On white

5.68
#704ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#704ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED1#FFFFFF#000000##FFFFFF
##704ED11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#526D88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704ed1;
/* rgb */ color: rgb(112, 78, 209);
/* oklch */ color: oklch(53.2% 0.192 290.3);
Tailwind
colors: {
  custom: {
    50: '#a081e0',
    500: '#704ed1',
    950: '#000000',
  },
}
SCSS
$custom: #704ed1;
$custom-light: #a081e0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed1",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 255.573,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.19214,
    "h": 290.3
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#704ED1
secondary
#CAD8A2
accent
#E246B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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