#704CD0#704CD0

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

Color values

HEX#704CD0
RGBrgb(112, 76, 208)
HSLhsl(256, 58%, 56%)
HSVhsv(256, 63%, 82%)
CMYKcmyk(46.2%, 63.5%, 0%, 18.4%)
CIE-LABlab(43.01, 46.21, -63.23)
CIE-LCHlch(43.01, 78.31, 306.16°)
OKLaboklab(52.85% 0.0688 -0.1809)
OKLCHoklch(52.85% 0.194 290.8)
XYZxyz(20.6485, 13.1670, 61.1158)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD0 #ACD04C
analogous
#4C6AD0 #704CD0 #B24CD0
triadic
#704CD0 #D0704C #4CD070
tetradic
#704CD0 #D04C6A #ACD04C #4CD0B2
square
#704CD0 #D04C6A #ACD04C #4CD0B2
split-complementary
#704CD0 #D0B24C #6AD04C
monochromatic
#3B2280 #522EB0 #704CD0 #977CDD #BDADE9

Accessibility & contrast

On white

5.78
#704CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD0#FFFFFF#000000##FFFFFF
##704CD01.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#526B87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704cd0;
/* rgb */ color: rgb(112, 76, 208);
/* oklch */ color: oklch(52.9% 0.194 290.8);
Tailwind
colors: {
  custom: {
    50: '#a080df',
    500: '#704cd0',
    950: '#000000',
  },
}
SCSS
$custom: #704cd0;
$custom-light: #a080df;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd0",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 256.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.19351,
    "h": 290.8
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#704CD0
secondary
#C8D7A0
accent
#E246B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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