#704CA5#704CA5

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

Color values

HEX#704CA5
RGBrgb(112, 76, 165)
HSLhsl(264, 37%, 47%)
HSVhsv(264, 54%, 65%)
CMYKcmyk(32.1%, 53.9%, 0%, 35.3%)
CIE-LABlab(40.13, 34.46, -42.70)
CIE-LCHlch(40.13, 54.87, 308.90°)
OKLaboklab(49.83% 0.0698 -0.1205)
OKLCHoklch(49.83% 0.139 300.1)
XYZxyz(16.0565, 11.3301, 36.9310)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA5 #81A54C
analogous
#4C55A5 #704CA5 #9D4CA5
triadic
#704CA5 #A5704C #4CA570
tetradic
#704CA5 #A54C55 #81A54C #4CA59D
square
#704CA5 #A54C55 #81A54C #4CA59D
split-complementary
#704CA5 #A59D4C #55A54C
monochromatic
#372551 #54397B #704CA5 #9071BD #B19BD1

Accessibility & contrast

On white

6.43
#704CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CA5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA5#FFFFFF#000000##FFFFFF
##704CA51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#655D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ca5;
/* rgb */ color: rgb(112, 76, 165);
/* oklch */ color: oklch(49.8% 0.139 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c7fc0',
    500: '#704ca5',
    950: '#000000',
  },
}
SCSS
$custom: #704ca5;
$custom-light: #9c7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca5",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 264.27,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.13927,
    "h": 300.1
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#704CA5
secondary
#ABBD8F
accent
#CD5B9F
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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