#704DA5#704DA5

#704DA5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.138 H 299.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#704DA5
RGBrgb(112, 77, 165)
HSLhsl(264, 36%, 47%)
HSVhsv(264, 53%, 65%)
CMYKcmyk(32.1%, 53.3%, 0%, 35.3%)
CIE-LABlab(40.36, 33.87, -42.34)
CIE-LCHlch(40.36, 54.22, 308.66°)
OKLaboklab(49.99% 0.0684 -0.1195)
OKLCHoklch(49.99% 0.138 299.8)
XYZxyz(16.1259, 11.4690, 36.9542)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DA5 #82A54D
analogous
#4D56A5 #704DA5 #9C4DA5
triadic
#704DA5 #A5704D #4DA570
tetradic
#704DA5 #A54D56 #82A54D #4DA59C
square
#704DA5 #A54D56 #82A54D #4DA59C
split-complementary
#704DA5 #A59C4D #56A54D
monochromatic
#372652 #543A7B #704DA5 #9072BD #B19CD1

Accessibility & contrast

On white

6.38
#704DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#704DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DA5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DA5#FFFFFF#000000##FFFFFF
##704DA51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#375EA3
Tritanopia (blue-blind)
#655E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704da5;
/* rgb */ color: rgb(112, 77, 165);
/* oklch */ color: oklch(50.0% 0.138 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c80c0',
    500: '#704da5',
    950: '#000000',
  },
}
SCSS
$custom: #704da5;
$custom-light: #9c80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#704da5",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 263.864,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.13767,
    "h": 299.8
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#704DA5
secondary
#ABBD90
accent
#CC5B9F
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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