#704FA6#704FA6

#704FA6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.136 H 299.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#704FA6
RGBrgb(112, 79, 166)
HSLhsl(263, 36%, 48%)
HSVhsv(263, 52%, 65%)
CMYKcmyk(32.5%, 52.4%, 0%, 34.9%)
CIE-LABlab(40.88, 32.96, -42.10)
CIE-LCHlch(40.88, 53.47, 308.05°)
OKLaboklab(50.4% 0.0658 -0.1188)
OKLCHoklch(50.4% 0.136 299)
XYZxyz(16.3594, 11.7897, 37.4828)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA6 #85A64F
analogous
#4F59A6 #704FA6 #9B4FA6
triadic
#704FA6 #A6704F #4FA670
tetradic
#704FA6 #A64F59 #85A64F #4FA69B
square
#704FA6 #A64F59 #85A64F #4FA69B
split-complementary
#704FA6 #A69B4F #59A64F
monochromatic
#382853 #543B7D #704FA6 #9075BD #B29ED1

Accessibility & contrast

On white

6.25
#704FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#704FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA6#FFFFFF#000000##FFFFFF
##704FA61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#3860A4
Tritanopia (blue-blind)
#656073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704fa6;
/* rgb */ color: rgb(112, 79, 166);
/* oklch */ color: oklch(50.4% 0.136 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c81c1',
    500: '#704fa6',
    950: '#000000',
  },
}
SCSS
$custom: #704fa6;
$custom-light: #9c81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa6",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 262.759,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.13578,
    "h": 299
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#704FA6
secondary
#AEBE93
accent
#CC5CA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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