#704CAE#704CAE

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

Color values

HEX#704CAE
RGBrgb(112, 76, 174)
HSLhsl(262, 39%, 49%)
HSVhsv(262, 56%, 68%)
CMYKcmyk(35.6%, 56.3%, 0%, 31.8%)
CIE-LABlab(40.69, 36.85, -47.16)
CIE-LCHlch(40.69, 59.85, 308.01°)
OKLaboklab(50.41% 0.0701 -0.1336)
OKLCHoklch(50.41% 0.151 297.7)
XYZxyz(16.9046, 11.6694, 41.3980)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CAE #8AAE4C
analogous
#4C59AE #704CAE #A14CAE
triadic
#704CAE #AE704C #4CAE70
tetradic
#704CAE #AE4C59 #8AAE4C #4CAEA1
square
#704CAE #AE4C59 #8AAE4C #4CAEA1
split-complementary
#704CAE #AEA14C #59AE4C
monochromatic
#392759 #553983 #704CAE #9175C3 #B39FD5

Accessibility & contrast

On white

6.30
#704CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CAE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CAE#FFFFFF#000000##FFFFFF
##704CAE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#626075
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704cae;
/* rgb */ color: rgb(112, 76, 174);
/* oklch */ color: oklch(50.4% 0.151 297.7);
Tailwind
colors: {
  custom: {
    50: '#9d7fc7',
    500: '#704cae',
    950: '#000000',
  },
}
SCSS
$custom: #704cae;
$custom-light: #9d7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#704cae",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 262.041,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.15089,
    "h": 297.7
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#704CAE
secondary
#B1C294
accent
#CF59A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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