#704CD5#704CD5

#704CD5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.200 H 290.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#704CD5
RGBrgb(112, 76, 213)
HSLhsl(256, 62%, 57%)
HSVhsv(256, 64%, 84%)
CMYKcmyk(47.4%, 64.3%, 0%, 16.5%)
CIE-LABlab(43.38, 47.61, -65.50)
CIE-LCHlch(43.38, 80.97, 306.01°)
OKLaboklab(53.24% 0.0683 -0.1875)
OKLCHoklch(53.24% 0.2 290)
XYZxyz(21.2734, 13.4169, 64.4067)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD5 #B1D54C
analogous
#4C6DD5 #704CD5 #B44CD5
triadic
#704CD5 #D5704C #4CD570
tetradic
#704CD5 #D54C6D #B1D54C #4CD5B4
square
#704CD5 #D54C6D #B1D54C #4CD5B4
split-complementary
#704CD5 #D5B44C #6DD54C
monochromatic
#3B2087 #502BB9 #704CD5 #987EE1 #BFAFEC

Accessibility & contrast

On white

5.70
#704CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#704CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD5#FFFFFF#000000##FFFFFF
##704CD51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#4F6D8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704cd5;
/* rgb */ color: rgb(112, 76, 213);
/* oklch */ color: oklch(53.2% 0.200 290.0);
Tailwind
colors: {
  custom: {
    50: '#a180e3',
    500: '#704cd5',
    950: '#000000',
  },
}
SCSS
$custom: #704cd5;
$custom-light: #a180e3;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd5",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 255.766,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.19959,
    "h": 290
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#704CD5
secondary
#CCDAA2
accent
#E543BA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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