#704F9A#704F9A

#704F9A is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.7% C 0.120 H 302.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#704F9A
RGBrgb(112, 79, 154)
HSLhsl(266, 32%, 46%)
HSVhsv(266, 49%, 60%)
CMYKcmyk(27.3%, 48.7%, 0%, 39.6%)
CIE-LABlab(40.20, 29.82, -36.02)
CIE-LCHlch(40.20, 46.76, 309.62°)
OKLaboklab(49.67% 0.0646 -0.101)
OKLCHoklch(49.67% 0.12 302.6)
XYZxyz(15.3095, 11.3698, 31.9536)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F9A #799A4F
analogous
#4F539A #704F9A #954F9A
triadic
#704F9A #9A704F #4F9A70
tetradic
#704F9A #9A4F53 #799A4F #4F9A95
square
#704F9A #9A4F53 #799A4F #4F9A95
split-complementary
#704F9A #9A954F #539A4F
monochromatic
#352549 #533A72 #704F9A #8F70B6 #AF99CB

Accessibility & contrast

On white

6.41
#704F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#704F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F9A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F9A#FFFFFF#000000##FFFFFF
##704F9A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#415F98
Tritanopia (blue-blind)
#685C6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704f9a;
/* rgb */ color: rgb(112, 79, 154);
/* oklch */ color: oklch(49.7% 0.120 302.6);
Tailwind
colors: {
  custom: {
    50: '#9b81b8',
    500: '#704f9a',
    950: '#000000',
  },
}
SCSS
$custom: #704f9a;
$custom-light: #9b81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#704f9a",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 266.4,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.11987,
    "h": 302.6
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#704F9A
secondary
#A5B78E
accent
#C85F9A
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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