#704FA5#704FA5

#704FA5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.3% C 0.134 H 299.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#704FA5
RGBrgb(112, 79, 165)
HSLhsl(263, 35%, 48%)
HSVhsv(263, 52%, 65%)
CMYKcmyk(32.1%, 52.1%, 0%, 35.3%)
CIE-LABlab(40.82, 32.69, -41.60)
CIE-LCHlch(40.82, 52.91, 308.16°)
OKLaboklab(50.34% 0.0657 -0.1173)
OKLCHoklch(50.34% 0.134 299.2)
XYZxyz(16.2680, 11.7532, 37.0015)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA5 #84A54F
analogous
#4F59A5 #704FA5 #9B4FA5
triadic
#704FA5 #A5704F #4FA570
tetradic
#704FA5 #A54F59 #84A54F #4FA59B
square
#704FA5 #A54F59 #84A54F #4FA59B
split-complementary
#704FA5 #A59B4F #59A54F
monochromatic
#382752 #543B7C #704FA5 #9075BD #B19ED1

Accessibility & contrast

On white

6.27
#704FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#704FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA5#FFFFFF#000000##FFFFFF
##704FA51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#655F72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704fa5;
/* rgb */ color: rgb(112, 79, 165);
/* oklch */ color: oklch(50.3% 0.134 299.2);
Tailwind
colors: {
  custom: {
    50: '#9c81c0',
    500: '#704fa5',
    950: '#000000',
  },
}
SCSS
$custom: #704fa5;
$custom-light: #9c81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa5",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 263.023,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.13445,
    "h": 299.2
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#704FA5
secondary
#ADBD92
accent
#CB5DA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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