#704D9D#704D9D

#704D9D is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.127 H 302.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#704D9D
RGBrgb(112, 77, 157)
HSLhsl(266, 34%, 46%)
HSVhsv(266, 51%, 62%)
CMYKcmyk(28.7%, 51%, 0%, 38.4%)
CIE-LABlab(39.89, 31.78, -38.30)
CIE-LCHlch(39.89, 49.77, 309.69°)
OKLaboklab(49.5% 0.0677 -0.1077)
OKLCHoklch(49.5% 0.127 302.2)
XYZxyz(15.4204, 11.1868, 33.2386)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704D9D #7A9D4D
analogous
#4D529D #704D9D #984D9D
triadic
#704D9D #9D704D #4D9D70
tetradic
#704D9D #9D4D52 #7A9D4D #4D9D98
square
#704D9D #9D4D52 #7A9D4D #4D9D98
split-complementary
#704D9D #9D984D #529D4D
monochromatic
#35254B #533974 #704D9D #8F6FB8 #AF98CC

Accessibility & contrast

On white

6.49
#704D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#704D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704D9D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704D9D#FFFFFF#000000##FFFFFF
##704D9D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#685C6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704d9d;
/* rgb */ color: rgb(112, 77, 157);
/* oklch */ color: oklch(49.5% 0.127 302.2);
Tailwind
colors: {
  custom: {
    50: '#9b80ba',
    500: '#704d9d',
    950: '#000000',
  },
}
SCSS
$custom: #704d9d;
$custom-light: #9b80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#704d9d",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 266.25,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.12721,
    "h": 302.2
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#704D9D
secondary
#A6B98D
accent
#CA5E9B
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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