#704DD2#704DD2

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

Color values

HEX#704DD2
RGBrgb(112, 77, 210)
HSLhsl(256, 60%, 56%)
HSVhsv(256, 63%, 82%)
CMYKcmyk(46.7%, 63.3%, 0%, 17.6%)
CIE-LABlab(43.37, 46.21, -63.81)
CIE-LCHlch(43.37, 78.78, 305.91°)
OKLaboklab(53.16% 0.0676 -0.1826)
OKLCHoklch(53.16% 0.195 290.3)
XYZxyz(20.9655, 13.4049, 62.4430)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD2 #AFD24D
analogous
#4D6DD2 #704DD2 #B24DD2
triadic
#704DD2 #D2704D #4DD270
tetradic
#704DD2 #D24D6D #AFD24D #4DD2B2
square
#704DD2 #D24D6D #AFD24D #4DD2B2
split-complementary
#704DD2 #D2B24D #6DD24D
monochromatic
#3B2183 #512EB4 #704DD2 #977EDE #BEAFEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704DD2#FFFFFF#000000##FFFFFF
##704DD21.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)
#0069D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#516D88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704dd2;
/* rgb */ color: rgb(112, 77, 210);
/* oklch */ color: oklch(53.2% 0.195 290.3);
Tailwind
colors: {
  custom: {
    50: '#a081e1',
    500: '#704dd2',
    950: '#000000',
  },
}
SCSS
$custom: #704dd2;
$custom-light: #a081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd2",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 255.789,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.19466,
    "h": 290.3
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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