#704CD3#704CD3

#704CD3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.197 H 290.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#704CD3
RGBrgb(112, 76, 211)
HSLhsl(256, 61%, 56%)
HSVhsv(256, 64%, 83%)
CMYKcmyk(46.9%, 64%, 0%, 17.3%)
CIE-LABlab(43.24, 47.05, -64.60)
CIE-LCHlch(43.24, 79.91, 306.07°)
OKLaboklab(53.08% 0.0685 -0.1849)
OKLCHoklch(53.08% 0.197 290.3)
XYZxyz(21.0211, 13.3160, 63.0780)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD3 #AFD34C
analogous
#4C6CD3 #704CD3 #B44CD3
triadic
#704CD3 #D3704C #4CD370
tetradic
#704CD3 #D34C6C #AFD34C #4CD3B4
square
#704CD3 #D34C6C #AFD34C #4CD3B4
split-complementary
#704CD3 #D3B44C #6CD34C
monochromatic
#3B2084 #512DB5 #704CD3 #977DDF #BEAEEB

Accessibility & contrast

On white

5.73
#704CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#704CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD3#FFFFFF#000000##FFFFFF
##704CD31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#516C89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704cd3;
/* rgb */ color: rgb(112, 76, 211);
/* oklch */ color: oklch(53.1% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#a180e1',
    500: '#704cd3',
    950: '#000000',
  },
}
SCSS
$custom: #704cd3;
$custom-light: #a180e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd3",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 256,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.19716,
    "h": 290.3
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#704CD3
secondary
#CAD9A2
accent
#E444B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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