#704AAA#704AAA

#704AAA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.149 H 299.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#704AAA
RGBrgb(112, 74, 170)
HSLhsl(264, 39%, 48%)
HSVhsv(264, 56%, 67%)
CMYKcmyk(34.1%, 56.5%, 0%, 33.3%)
CIE-LABlab(39.99, 36.94, -45.90)
CIE-LCHlch(39.99, 58.92, 308.83°)
OKLaboklab(49.82% 0.0726 -0.1299)
OKLCHoklch(49.82% 0.149 299.2)
XYZxyz(16.3848, 11.2444, 39.3296)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AAA #84AA4A
analogous
#4A54AA #704AAA #A04AAA
triadic
#704AAA #AA704A #4AAA70
tetradic
#704AAA #AA4A54 #84AA4A #4AAAA0
square
#704AAA #AA4A54 #84AA4A #4AAAA0
split-complementary
#704AAA #AAA04A #54AA4A
monochromatic
#382555 #54377F #704AAA #9070C1 #B19BD3

Accessibility & contrast

On white

6.46
#704AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#704AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AAA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AAA#FFFFFF#000000##FFFFFF
##704AAA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#2E5DA8
Tritanopia (blue-blind)
#645D73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704aaa;
/* rgb */ color: rgb(112, 74, 170);
/* oklch */ color: oklch(49.8% 0.149 299.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ec4',
    500: '#704aaa',
    950: '#000000',
  },
}
SCSS
$custom: #704aaa;
$custom-light: #9c7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#704aaa",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 263.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.14884,
    "h": 299.2
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#704AAA
secondary
#ADC090
accent
#CF59A0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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