#704CAC#704CAC

#704CAC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.148 H 298.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#704CAC
RGBrgb(112, 76, 172)
HSLhsl(263, 39%, 49%)
HSVhsv(263, 56%, 67%)
CMYKcmyk(34.9%, 55.8%, 0%, 32.5%)
CIE-LABlab(40.56, 36.31, -46.17)
CIE-LCHlch(40.56, 58.74, 308.18°)
OKLaboklab(50.28% 0.0701 -0.1307)
OKLCHoklch(50.28% 0.148 298.2)
XYZxyz(16.7111, 11.5920, 40.3788)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CAC #88AC4C
analogous
#4C58AC #704CAC #A04CAC
triadic
#704CAC #AC704C #4CAC70
tetradic
#704CAC #AC4C58 #88AC4C #4CACA0
square
#704CAC #AC4C58 #88AC4C #4CACA0
split-complementary
#704CAC #ACA04C #58AC4C
monochromatic
#392657 #543982 #704CAC #9174C1 #B29ED4

Accessibility & contrast

On white

6.33
#704CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#704CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CAC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CAC#FFFFFF#000000##FFFFFF
##704CAC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#635F74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704cac;
/* rgb */ color: rgb(112, 76, 172);
/* oklch */ color: oklch(50.3% 0.148 298.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fc5',
    500: '#704cac',
    950: '#000000',
  },
}
SCSS
$custom: #704cac;
$custom-light: #9d7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#704cac",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 262.5,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.14832,
    "h": 298.2
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#704CAC
secondary
#B0C193
accent
#CF59A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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