#704D99#704D99

#704D99 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.3% C 0.122 H 303.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#704D99
RGBrgb(112, 77, 153)
HSLhsl(268, 33%, 45%)
HSVhsv(268, 50%, 60%)
CMYKcmyk(26.8%, 49.7%, 0%, 40%)
CIE-LABlab(39.67, 30.76, -36.25)
CIE-LCHlch(39.67, 47.54, 310.31°)
OKLaboklab(49.26% 0.0673 -0.1017)
OKLCHoklch(49.26% 0.122 303.5)
XYZxyz(15.0845, 11.0524, 31.4695)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704D99 #76994D
analogous
#4D5099 #704D99 #964D99
triadic
#704D99 #99704D #4D9970
tetradic
#704D99 #994D50 #76994D #4D9996
square
#704D99 #994D50 #76994D #4D9996
split-complementary
#704D99 #99964D #50994D
monochromatic
#342448 #523970 #704D99 #8F6DB6 #AE96CA

Accessibility & contrast

On white

6.54
#704D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#704D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704D99
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704D99#FFFFFF#000000##FFFFFF
##704D991.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#695A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #704d99;
/* rgb */ color: rgb(112, 77, 153);
/* oklch */ color: oklch(49.3% 0.122 303.5);
Tailwind
colors: {
  custom: {
    50: '#9b80b7',
    500: '#704d99',
    950: '#000000',
  },
}
SCSS
$custom: #704d99;
$custom-light: #9b80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#704d99",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 267.632,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.12196,
    "h": 303.5
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#704D99
secondary
#A3B78B
accent
#C95F98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704D99

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

Preview Lab → · Contrast checker → · Palette generator →

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