#704F9D#704F9D

#704F9D is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.8% C 0.124 H 301.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#704F9D
RGBrgb(112, 79, 157)
HSLhsl(265, 33%, 46%)
HSVhsv(265, 50%, 62%)
CMYKcmyk(28.7%, 49.7%, 0%, 38.4%)
CIE-LABlab(40.36, 30.59, -37.55)
CIE-LCHlch(40.36, 48.44, 309.17°)
OKLaboklab(49.85% 0.0649 -0.1055)
OKLCHoklch(49.85% 0.124 301.6)
XYZxyz(15.5625, 11.4710, 33.2860)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F9D #7C9D4F
analogous
#4F559D #704F9D #974F9D
triadic
#704F9D #9D704F #4F9D70
tetradic
#704F9D #9D4F55 #7C9D4F #4F9D97
square
#704F9D #9D4F55 #7C9D4F #4F9D97
split-complementary
#704F9D #9D974F #559D4F
monochromatic
#36264C #533B74 #704F9D #8F71B8 #AF9ACC

Accessibility & contrast

On white

6.37
#704F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#704F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F9D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F9D#FFFFFF#000000##FFFFFF
##704F9D1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#685D6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704f9d;
/* rgb */ color: rgb(112, 79, 157);
/* oklch */ color: oklch(49.8% 0.124 301.6);
Tailwind
colors: {
  custom: {
    50: '#9b81ba',
    500: '#704f9d',
    950: '#000000',
  },
}
SCSS
$custom: #704f9d;
$custom-light: #9b81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#704f9d",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 265.385,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.12386,
    "h": 301.6
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#704F9D
secondary
#A7B98F
accent
#C95F9C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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