#704DD5#704DD5

#704DD5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.198 H 289.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#704DD5
RGBrgb(112, 77, 213)
HSLhsl(255, 62%, 57%)
HSVhsv(255, 64%, 84%)
CMYKcmyk(47.4%, 63.8%, 0%, 16.5%)
CIE-LABlab(43.59, 47.06, -65.17)
CIE-LCHlch(43.59, 80.38, 305.83°)
OKLaboklab(53.39% 0.0673 -0.1866)
OKLCHoklch(53.39% 0.198 289.8)
XYZxyz(21.3428, 13.5558, 64.4299)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD5 #B2D54D
analogous
#4D6ED5 #704DD5 #B44DD5
triadic
#704DD5 #D5704D #4DD570
tetradic
#704DD5 #D54D6E #B2D54D #4DD5B4
square
#704DD5 #D54D6E #B2D54D #4DD5B4
split-complementary
#704DD5 #D5B44D #6ED54D
monochromatic
#3B2088 #502CB9 #704DD5 #987FE1 #C0B0EC

Accessibility & contrast

On white

5.66
#704DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#704DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DD5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD5#FFFFFF#000000##FFFFFF
##704DD51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#4F6E8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704dd5;
/* rgb */ color: rgb(112, 77, 213);
/* oklch */ color: oklch(53.4% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#a181e3',
    500: '#704dd5',
    950: '#000000',
  },
}
SCSS
$custom: #704dd5;
$custom-light: #a181e3;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd5",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 255.441,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.19833,
    "h": 289.8
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#704DD5
secondary
#CCDBA3
accent
#E543BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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