#704DD4#704DD4

#704DD4 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.197 H 290.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#704DD4
RGBrgb(112, 77, 212)
HSLhsl(256, 61%, 57%)
HSVhsv(256, 64%, 83%)
CMYKcmyk(47.2%, 63.7%, 0%, 16.9%)
CIE-LABlab(43.51, 46.78, -64.72)
CIE-LCHlch(43.51, 79.85, 305.86°)
OKLaboklab(53.31% 0.0674 -0.1852)
OKLCHoklch(53.31% 0.197 290)
XYZxyz(21.2163, 13.5051, 63.7635)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD4 #B1D44D
analogous
#4D6ED4 #704DD4 #B44DD4
triadic
#704DD4 #D4704D #4DD470
tetradic
#704DD4 #D44D6E #B1D44D #4DD4B4
square
#704DD4 #D44D6E #B1D44D #4DD4B4
split-complementary
#704DD4 #D4B44D #6ED44D
monochromatic
#3B2086 #502CB7 #704DD4 #987EE0 #BFB0EC

Accessibility & contrast

On white

5.67
#704DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704DD4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD4#FFFFFF#000000##FFFFFF
##704DD41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#506D8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704dd4;
/* rgb */ color: rgb(112, 77, 212);
/* oklch */ color: oklch(53.3% 0.197 290.0);
Tailwind
colors: {
  custom: {
    50: '#a181e2',
    500: '#704dd4',
    950: '#000000',
  },
}
SCSS
$custom: #704dd4;
$custom-light: #a181e2;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd4",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 255.556,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.1971,
    "h": 290
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#704DD4
secondary
#CCDAA3
accent
#E444BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #704DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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