#704CA6#704CA6

#704CA6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.141 H 299.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#704CA6
RGBrgb(112, 76, 166)
HSLhsl(264, 37%, 47%)
HSVhsv(264, 54%, 65%)
CMYKcmyk(32.5%, 54.2%, 0%, 34.9%)
CIE-LABlab(40.19, 34.72, -43.20)
CIE-LCHlch(40.19, 55.42, 308.79°)
OKLaboklab(49.89% 0.0698 -0.122)
OKLCHoklch(49.89% 0.141 299.8)
XYZxyz(16.1478, 11.3667, 37.4123)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA6 #82A64C
analogous
#4C55A6 #704CA6 #9D4CA6
triadic
#704CA6 #A6704C #4CA670
tetradic
#704CA6 #A64C55 #82A64C #4CA69D
square
#704CA6 #A64C55 #82A64C #4CA69D
split-complementary
#704CA6 #A69D4C #55A64C
monochromatic
#372652 #54397C #704CA6 #9071BE #B19BD1

Accessibility & contrast

On white

6.42
#704CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CA6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA6#FFFFFF#000000##FFFFFF
##704CA61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FA9
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#655E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ca6;
/* rgb */ color: rgb(112, 76, 166);
/* oklch */ color: oklch(49.9% 0.141 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c7fc1',
    500: '#704ca6',
    950: '#000000',
  },
}
SCSS
$custom: #704ca6;
$custom-light: #9c7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca6",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 264,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.14057,
    "h": 299.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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