#704F8B#704F8B

#704F8B is a mid, moderate violet. Relative luminance 0.109; OKLCH L 48.8% C 0.100 H 308.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#704F8B
RGBrgb(112, 79, 139)
HSLhsl(273, 28%, 43%)
HSVhsv(273, 43%, 55%)
CMYKcmyk(19.4%, 43.2%, 0%, 45.5%)
CIE-LABlab(39.41, 26.07, -28.19)
CIE-LCHlch(39.41, 38.40, 312.76°)
OKLaboklab(48.83% 0.0621 -0.0783)
OKLCHoklch(48.83% 0.1 308.4)
XYZxyz(14.1374, 10.9010, 25.7804)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F8B #6A8B4F
analogous
#524F8B #704F8B #8B4F88
triadic
#704F8B #8B704F #4F8B70
tetradic
#704F8B #8B524F #6A8B4F #4F888B
square
#704F8B #8B524F #6A8B4F #4F888B
split-complementary
#704F8B #888B4F #4F8B52
monochromatic
#31233D #513964 #704F8B #8F6CAB #AD93C2

Accessibility & contrast

On white

6.60
#704F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#704F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F8B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F8B#FFFFFF#000000##FFFFFF
##704F8B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#6C5866
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #704f8b;
/* rgb */ color: rgb(112, 79, 139);
/* oklch */ color: oklch(48.8% 0.100 308.4);
Tailwind
colors: {
  custom: {
    50: '#9a81ad',
    500: '#704f8b',
    950: '#000000',
  },
}
SCSS
$custom: #704f8b;
$custom-light: #9a81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#704f8b",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 273,
    "s": 27.523,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48825,
    "c": 0.09995,
    "h": 308.4
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#704F8B
secondary
#99AE88
accent
#C4648F
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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