#704FA0#704FA0

#704FA0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.0% C 0.128 H 300.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#704FA0
RGBrgb(112, 79, 160)
HSLhsl(264, 34%, 47%)
HSVhsv(264, 51%, 63%)
CMYKcmyk(30%, 50.6%, 0%, 37.3%)
CIE-LABlab(40.53, 31.38, -39.08)
CIE-LCHlch(40.53, 50.12, 308.76°)
OKLaboklab(50.03% 0.0652 -0.1099)
OKLCHoklch(50.03% 0.128 300.7)
XYZxyz(15.8218, 11.5747, 34.6515)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA0 #7FA04F
analogous
#4F57A0 #704FA0 #994FA0
triadic
#704FA0 #A0704F #4FA070
tetradic
#704FA0 #A04F57 #7FA04F #4FA099
square
#704FA0 #A04F57 #7FA04F #4FA099
split-complementary
#704FA0 #A0994F #57A04F
monochromatic
#37274E #533B77 #704FA0 #9073BA #B09CCE

Accessibility & contrast

On white

6.33
#704FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#704FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA0#FFFFFF#000000##FFFFFF
##704FA01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#675E70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704fa0;
/* rgb */ color: rgb(112, 79, 160);
/* oklch */ color: oklch(50.0% 0.128 300.7);
Tailwind
colors: {
  custom: {
    50: '#9b81bc',
    500: '#704fa0',
    950: '#000000',
  },
}
SCSS
$custom: #704fa0;
$custom-light: #9b81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa0",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 264.444,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.12784,
    "h": 300.7
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#704FA0
secondary
#A9BB90
accent
#CA5E9E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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