#704E8A#704E8A

#704E8A is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.6% C 0.100 H 309.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#704E8A
RGBrgb(112, 78, 138)
HSLhsl(274, 28%, 42%)
HSVhsv(274, 43%, 54%)
CMYKcmyk(18.8%, 43.5%, 0%, 45.9%)
CIE-LABlab(39.12, 26.43, -28.04)
CIE-LCHlch(39.12, 38.53, 313.31°)
OKLaboklab(48.59% 0.0635 -0.0779)
OKLCHoklch(48.59% 0.1 309.2)
XYZxyz(13.9931, 10.7287, 25.3735)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704E8A #688A4E
analogous
#524E8A #704E8A #8A4E86
triadic
#704E8A #8A704E #4E8A70
tetradic
#704E8A #8A524E #688A4E #4E868A
square
#704E8A #8A524E #688A4E #4E868A
split-complementary
#704E8A #868A4E #4E8A52
monochromatic
#31223C #503863 #704E8A #8F6AAB #AC91C1

Accessibility & contrast

On white

6.68
#704E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#704E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704E8A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704E8A#FFFFFF#000000##FFFFFF
##704E8A1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#495D88
Tritanopia (blue-blind)
#6D5765
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #704e8a;
/* rgb */ color: rgb(112, 78, 138);
/* oklch */ color: oklch(48.6% 0.100 309.2);
Tailwind
colors: {
  custom: {
    50: '#9a80ac',
    500: '#704e8a',
    950: '#000000',
  },
}
SCSS
$custom: #704e8a;
$custom-light: #9a80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#704e8a",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 274,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48588,
    "c": 0.10045,
    "h": 309.2
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#704E8A
secondary
#97AE86
accent
#C4648D
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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