#704CD1#704CD1

#704CD1 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.195 H 290.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#704CD1
RGBrgb(112, 76, 209)
HSLhsl(256, 59%, 56%)
HSVhsv(256, 64%, 82%)
CMYKcmyk(46.4%, 63.6%, 0%, 18%)
CIE-LABlab(43.09, 46.49, -63.69)
CIE-LCHlch(43.09, 78.85, 306.13°)
OKLaboklab(52.93% 0.0687 -0.1822)
OKLCHoklch(52.93% 0.195 290.7)
XYZxyz(20.7719, 13.2163, 61.7658)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD1 #ADD14C
analogous
#4C6AD1 #704CD1 #B34CD1
triadic
#704CD1 #D1704C #4CD170
tetradic
#704CD1 #D14C6A #ADD14C #4CD1B3
square
#704CD1 #D14C6A #ADD14C #4CD1B3
split-complementary
#704CD1 #D1B34C #6AD14C
monochromatic
#3B2181 #522EB2 #704CD1 #977DDE #BEADEA

Accessibility & contrast

On white

5.76
#704CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#704CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD1#FFFFFF#000000##FFFFFF
##704CD11.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#526C88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704cd1;
/* rgb */ color: rgb(112, 76, 209);
/* oklch */ color: oklch(52.9% 0.195 290.7);
Tailwind
colors: {
  custom: {
    50: '#a080e0',
    500: '#704cd1',
    950: '#000000',
  },
}
SCSS
$custom: #704cd1;
$custom-light: #a080e0;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd1",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 256.241,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.19473,
    "h": 290.7
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#704CD1
secondary
#C9D8A1
accent
#E246B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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