#704A8D#704A8D

#704A8D is a mid, moderate violet. Relative luminance 0.103; OKLCH L 48.0% C 0.112 H 308.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#704A8D
RGBrgb(112, 74, 141)
HSLhsl(274, 31%, 42%)
HSVhsv(274, 48%, 55%)
CMYKcmyk(20.6%, 47.5%, 0%, 44.7%)
CIE-LABlab(38.31, 29.55, -31.13)
CIE-LCHlch(38.31, 42.92, 313.51°)
OKLaboklab(48.04% 0.0701 -0.0868)
OKLCHoklch(48.04% 0.112 308.9)
XYZxyz(13.9377, 10.2656, 26.4414)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704A8D #678D4A
analogous
#4F4A8D #704A8D #8D4A89
triadic
#704A8D #8D704A #4A8D70
tetradic
#704A8D #8D4F4A #678D4A #4A898D
square
#704A8D #8D4F4A #678D4A #4A898D
split-complementary
#704A8D #898D4A #4A8D4F
monochromatic
#30203D #503565 #704A8D #8F66AF #AC8EC4

Accessibility & contrast

On white

6.88
#704A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#704A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704A8D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704A8D#FFFFFF#000000##FFFFFF
##704A8D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A598F
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#6C5565
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #704a8d;
/* rgb */ color: rgb(112, 74, 141);
/* oklch */ color: oklch(48.0% 0.112 308.9);
Tailwind
colors: {
  custom: {
    50: '#9a7dae',
    500: '#704a8d',
    950: '#000000',
  },
}
SCSS
$custom: #704a8d;
$custom-light: #9a7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#704a8d",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 274.03,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.11156,
    "h": 308.9
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#704A8D
secondary
#96B083
accent
#C7608D
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #704A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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