#704CD2#704CD2

#704CD2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.196 H 290.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#704CD2
RGBrgb(112, 76, 210)
HSLhsl(256, 60%, 56%)
HSVhsv(256, 64%, 82%)
CMYKcmyk(46.7%, 63.8%, 0%, 17.6%)
CIE-LABlab(43.16, 46.77, -64.14)
CIE-LCHlch(43.16, 79.38, 306.10°)
OKLaboklab(53.01% 0.0686 -0.1835)
OKLCHoklch(53.01% 0.196 290.5)
XYZxyz(20.8961, 13.2660, 62.4199)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD2 #AED24C
analogous
#4C6BD2 #704CD2 #B34CD2
triadic
#704CD2 #D2704C #4CD270
tetradic
#704CD2 #D24C6B #AED24C #4CD2B3
square
#704CD2 #D24C6B #AED24C #4CD2B3
split-complementary
#704CD2 #D2B34C #6BD24C
monochromatic
#3B2183 #512DB4 #704CD2 #977DDE #BEAEEB

Accessibility & contrast

On white

5.75
#704CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#704CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD2#FFFFFF#000000##FFFFFF
##704CD21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#516C88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704cd2;
/* rgb */ color: rgb(112, 76, 210);
/* oklch */ color: oklch(53.0% 0.196 290.5);
Tailwind
colors: {
  custom: {
    50: '#a080e1',
    500: '#704cd2',
    950: '#000000',
  },
}
SCSS
$custom: #704cd2;
$custom-light: #a080e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd2",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 256.119,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.19595,
    "h": 290.5
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#704CD2
secondary
#CAD9A1
accent
#E345B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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