#704DAC#704DAC

#704DAC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.147 H 297.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#704DAC
RGBrgb(112, 77, 172)
HSLhsl(262, 38%, 49%)
HSVhsv(262, 55%, 67%)
CMYKcmyk(34.9%, 55.2%, 0%, 32.5%)
CIE-LABlab(40.79, 35.73, -45.81)
CIE-LCHlch(40.79, 58.10, 307.95°)
OKLaboklab(50.45% 0.0688 -0.1297)
OKLCHoklch(50.45% 0.147 297.9)
XYZxyz(16.7805, 11.7309, 40.4019)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DAC #89AC4D
analogous
#4D5AAC #704DAC #A04DAC
triadic
#704DAC #AC704D #4DAC70
tetradic
#704DAC #AC4D5A #89AC4D #4DACA0
square
#704DAC #AC4D5A #89AC4D #4DACA0
split-complementary
#704DAC #ACA04D #5AAC4D
monochromatic
#392757 #543A82 #704DAC #9175C1 #B39FD4

Accessibility & contrast

On white

6.28
#704DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#704DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DAC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DAC#FFFFFF#000000##FFFFFF
##704DAC1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#636075
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704dac;
/* rgb */ color: rgb(112, 77, 172);
/* oklch */ color: oklch(50.4% 0.147 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c80c5',
    500: '#704dac',
    950: '#000000',
  },
}
SCSS
$custom: #704dac;
$custom-light: #9c80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#704dac",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 262.105,
    "s": 38.153,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.14677,
    "h": 297.9
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#704DAC
secondary
#B0C194
accent
#CE5AA3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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