#704F8D#704F8D

#704F8D is a mid, moderate violet. Relative luminance 0.110; OKLCH L 48.9% C 0.103 H 307.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#704F8D
RGBrgb(112, 79, 141)
HSLhsl(272, 28%, 43%)
HSVhsv(272, 44%, 55%)
CMYKcmyk(20.6%, 44%, 0%, 44.7%)
CIE-LABlab(39.51, 26.56, -29.25)
CIE-LCHlch(39.51, 39.51, 312.24°)
OKLaboklab(48.93% 0.0625 -0.0813)
OKLCHoklch(48.93% 0.103 307.5)
XYZxyz(14.2849, 10.9599, 26.5571)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F8D #6C8D4F
analogous
#514F8D #704F8D #8D4F8B
triadic
#704F8D #8D704F #4F8D70
tetradic
#704F8D #8D514F #6C8D4F #4F8B8D
square
#704F8D #8D514F #6C8D4F #4F8B8D
split-complementary
#704F8D #8B8D4F #4F8D51
monochromatic
#32233F #513966 #704F8D #8F6CAD #AD94C3

Accessibility & contrast

On white

6.58
#704F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#704F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F8D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F8D#FFFFFF#000000##FFFFFF
##704F8D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#495D8B
Tritanopia (blue-blind)
#6C5967
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #704f8d;
/* rgb */ color: rgb(112, 79, 141);
/* oklch */ color: oklch(48.9% 0.103 307.5);
Tailwind
colors: {
  custom: {
    50: '#9a81ae',
    500: '#704f8d',
    950: '#000000',
  },
}
SCSS
$custom: #704f8d;
$custom-light: #9a81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#704f8d",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 271.935,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.10259,
    "h": 307.5
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#704F8D
secondary
#9BAF88
accent
#C46391
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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