#704F99#704F99

#704F99 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.6% C 0.119 H 302.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#704F99
RGBrgb(112, 79, 153)
HSLhsl(267, 32%, 45%)
HSVhsv(267, 48%, 60%)
CMYKcmyk(26.8%, 48.4%, 0%, 40%)
CIE-LABlab(40.14, 29.57, -35.50)
CIE-LCHlch(40.14, 46.20, 309.79°)
OKLaboklab(49.61% 0.0644 -0.0995)
OKLCHoklch(49.61% 0.119 302.9)
XYZxyz(15.2266, 11.3366, 31.5168)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F99 #78994F
analogous
#4F5399 #704F99 #954F99
triadic
#704F99 #99704F #4F9970
tetradic
#704F99 #994F53 #78994F #4F9995
square
#704F99 #994F53 #78994F #4F9995
split-complementary
#704F99 #99954F #53994F
monochromatic
#352548 #523A71 #704F99 #8F70B5 #AF98CA

Accessibility & contrast

On white

6.43
#704F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#704F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F99
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F99#FFFFFF#000000##FFFFFF
##704F991.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#425E97
Tritanopia (blue-blind)
#695C6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704f99;
/* rgb */ color: rgb(112, 79, 153);
/* oklch */ color: oklch(49.6% 0.119 302.9);
Tailwind
colors: {
  custom: {
    50: '#9b81b7',
    500: '#704f99',
    950: '#000000',
  },
}
SCSS
$custom: #704f99;
$custom-light: #9b81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#704f99",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 266.757,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.11855,
    "h": 302.9
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#704F99
secondary
#A4B78D
accent
#C8609A
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F99

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

Preview Lab → · Contrast checker → · Palette generator →

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