#704FA4#704FA4

#704FA4 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.133 H 299.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#704FA4
RGBrgb(112, 79, 164)
HSLhsl(263, 35%, 48%)
HSVhsv(263, 52%, 64%)
CMYKcmyk(31.7%, 51.8%, 0%, 35.7%)
CIE-LABlab(40.76, 32.43, -41.10)
CIE-LCHlch(40.76, 52.35, 308.27°)
OKLaboklab(50.27% 0.0656 -0.1158)
OKLCHoklch(50.27% 0.133 299.5)
XYZxyz(16.1773, 11.7169, 36.5241)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FA4 #83A44F
analogous
#4F59A4 #704FA4 #9A4FA4
triadic
#704FA4 #A4704F #4FA470
tetradic
#704FA4 #A44F59 #83A44F #4FA49A
square
#704FA4 #A44F59 #83A44F #4FA49A
split-complementary
#704FA4 #A49A4F #59A44F
monochromatic
#382751 #543B7B #704FA4 #9074BC #B19DD0

Accessibility & contrast

On white

6.28
#704FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#704FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FA4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FA4#FFFFFF#000000##FFFFFF
##704FA41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#3A5FA2
Tritanopia (blue-blind)
#655F72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704fa4;
/* rgb */ color: rgb(112, 79, 164);
/* oklch */ color: oklch(50.3% 0.133 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c81bf',
    500: '#704fa4',
    950: '#000000',
  },
}
SCSS
$custom: #704fa4;
$custom-light: #9c81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#704fa4",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 263.294,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.13313,
    "h": 299.5
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#704FA4
secondary
#ACBD92
accent
#CB5DA0
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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