#704CA4#704CA4

#704CA4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.138 H 300.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#704CA4
RGBrgb(112, 76, 164)
HSLhsl(265, 37%, 47%)
HSVhsv(265, 54%, 64%)
CMYKcmyk(31.7%, 53.7%, 0%, 35.7%)
CIE-LABlab(40.07, 34.19, -42.20)
CIE-LCHlch(40.07, 54.32, 309.02°)
OKLaboklab(49.76% 0.0697 -0.1191)
OKLCHoklch(49.76% 0.138 300.3)
XYZxyz(15.9658, 11.2939, 36.4536)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA4 #80A44C
analogous
#4C54A4 #704CA4 #9C4CA4
triadic
#704CA4 #A4704C #4CA470
tetradic
#704CA4 #A44C54 #80A44C #4CA49C
square
#704CA4 #A44C54 #80A44C #4CA49C
split-complementary
#704CA4 #A49C4C #54A44C
monochromatic
#372550 #53397A #704CA4 #9070BD #B09AD0

Accessibility & contrast

On white

6.44
#704CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#704CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA4#FFFFFF#000000##FFFFFF
##704CA41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#665D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ca4;
/* rgb */ color: rgb(112, 76, 164);
/* oklch */ color: oklch(49.8% 0.138 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c7fbf',
    500: '#704ca4',
    950: '#000000',
  },
}
SCSS
$custom: #704ca4;
$custom-light: #9c7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca4",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 264.545,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.13798,
    "h": 300.3
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#704CA4
secondary
#AABD8F
accent
#CD5B9E
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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