#704AA2#704AA2

#704AA2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.139 H 301.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#704AA2
RGBrgb(112, 74, 162)
HSLhsl(266, 37%, 46%)
HSVhsv(266, 54%, 64%)
CMYKcmyk(30.9%, 54.3%, 0%, 36.5%)
CIE-LABlab(39.50, 34.84, -41.92)
CIE-LCHlch(39.50, 54.51, 309.73°)
OKLaboklab(49.3% 0.0723 -0.1183)
OKLCHoklch(49.3% 0.139 301.4)
XYZxyz(15.6510, 10.9509, 35.4646)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AA2 #7CA24A
analogous
#4A50A2 #704AA2 #9C4AA2
triadic
#704AA2 #A2704A #4AA270
tetradic
#704AA2 #A24A50 #7CA24A #4AA29C
square
#704AA2 #A24A50 #7CA24A #4AA29C
split-complementary
#704AA2 #A29C4A #50A24A
monochromatic
#36244E #533778 #704AA2 #8F6DBC #AF97CF

Accessibility & contrast

On white

6.58
#704AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#704AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AA2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AA2#FFFFFF#000000##FFFFFF
##704AA21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#665B6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #704aa2;
/* rgb */ color: rgb(112, 74, 162);
/* oklch */ color: oklch(49.3% 0.139 301.4);
Tailwind
colors: {
  custom: {
    50: '#9c7ebe',
    500: '#704aa2',
    950: '#000000',
  },
}
SCSS
$custom: #704aa2;
$custom-light: #9c7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#704aa2",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 265.909,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.1386,
    "h": 301.4
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#704AA2
secondary
#A7BC8C
accent
#CD5B9C
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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