#704F97#704F97

#704F97 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.5% C 0.116 H 303.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#704F97
RGBrgb(112, 79, 151)
HSLhsl(268, 31%, 45%)
HSVhsv(268, 48%, 59%)
CMYKcmyk(25.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(40.03, 29.05, -34.47)
CIE-LCHlch(40.03, 45.08, 310.13°)
OKLaboklab(49.49% 0.0641 -0.0965)
OKLCHoklch(49.49% 0.116 303.6)
XYZxyz(15.0628, 11.2711, 30.6542)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F97 #76974F
analogous
#4F5297 #704F97 #944F97
triadic
#704F97 #97704F #4F9770
tetradic
#704F97 #974F52 #76974F #4F9794
square
#704F97 #974F52 #76974F #4F9794
split-complementary
#704F97 #97944F #52974F
monochromatic
#342547 #523A6F #704F97 #8F6FB4 #AE98C9

Accessibility & contrast

On white

6.45
#704F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#704F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F97
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F97#FFFFFF#000000##FFFFFF
##704F971.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#695B6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704f97;
/* rgb */ color: rgb(112, 79, 151);
/* oklch */ color: oklch(49.5% 0.116 303.6);
Tailwind
colors: {
  custom: {
    50: '#9b81b6',
    500: '#704f97',
    950: '#000000',
  },
}
SCSS
$custom: #704f97;
$custom-light: #9b81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#704f97",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 267.5,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.11588,
    "h": 303.6
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#704F97
secondary
#A3B68C
accent
#C76098
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F97

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

Preview Lab → · Contrast checker → · Palette generator →

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