#704F96#704F96

#704F96 is a mid, moderate violet. Relative luminance 0.112; OKLCH L 49.4% C 0.115 H 304.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#704F96
RGBrgb(112, 79, 150)
HSLhsl(268, 31%, 45%)
HSVhsv(268, 47%, 59%)
CMYKcmyk(25.3%, 47.3%, 0%, 41.2%)
CIE-LABlab(39.98, 28.80, -33.95)
CIE-LCHlch(39.98, 44.52, 310.31°)
OKLaboklab(49.44% 0.064 -0.095)
OKLCHoklch(49.44% 0.115 304)
XYZxyz(14.9819, 11.2388, 30.2283)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F96 #75964F
analogous
#4F5296 #704F96 #934F96
triadic
#704F96 #96704F #4F9670
tetradic
#704F96 #964F52 #75964F #4F9693
square
#704F96 #964F52 #75964F #4F9693
split-complementary
#704F96 #96934F #52964F
monochromatic
#342546 #523A6E #704F96 #8F6FB3 #AE97C8

Accessibility & contrast

On white

6.47
#704F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#704F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F96
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F96#FFFFFF#000000##FFFFFF
##704F961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D99
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#6A5B6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704f96;
/* rgb */ color: rgb(112, 79, 150);
/* oklch */ color: oklch(49.4% 0.115 304.0);
Tailwind
colors: {
  custom: {
    50: '#9b81b5',
    500: '#704f96',
    950: '#000000',
  },
}
SCSS
$custom: #704f96;
$custom-light: #9b81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#704f96",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 267.887,
    "s": 31.004,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.11456,
    "h": 304
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#704F96
secondary
#A2B58C
accent
#C76198
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F96

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

Preview Lab → · Contrast checker → · Palette generator →

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