#704EA6#704EA6

#704EA6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.137 H 299.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#704EA6
RGBrgb(112, 78, 166)
HSLhsl(263, 36%, 48%)
HSVhsv(263, 53%, 65%)
CMYKcmyk(32.5%, 53%, 0%, 34.9%)
CIE-LABlab(40.65, 33.55, -42.47)
CIE-LCHlch(40.65, 54.12, 308.31°)
OKLaboklab(50.23% 0.0671 -0.1199)
OKLCHoklch(50.23% 0.137 299.2)
XYZxyz(16.2878, 11.6466, 37.4589)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA6 #84A64E
analogous
#4E58A6 #704EA6 #9C4EA6
triadic
#704EA6 #A6704E #4EA670
tetradic
#704EA6 #A64E58 #84A64E #4EA69C
square
#704EA6 #A64E58 #84A64E #4EA69C
split-complementary
#704EA6 #A69C4E #58A64E
monochromatic
#382753 #543A7C #704EA6 #9074BE #B19DD1

Accessibility & contrast

On white

6.31
#704EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#704EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA6#FFFFFF#000000##FFFFFF
##704EA61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60A9
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#655F72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea6;
/* rgb */ color: rgb(112, 78, 166);
/* oklch */ color: oklch(50.2% 0.137 299.2);
Tailwind
colors: {
  custom: {
    50: '#9c80c1',
    500: '#704ea6',
    950: '#000000',
  },
}
SCSS
$custom: #704ea6;
$custom-light: #9c80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea6",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 263.182,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.13738,
    "h": 299.2
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#704EA6
secondary
#ADBE92
accent
#CC5CA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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