#704F98#704F98

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

Color values

HEX#704F98
RGBrgb(112, 79, 152)
HSLhsl(267, 32%, 45%)
HSVhsv(267, 48%, 60%)
CMYKcmyk(26.3%, 48%, 0%, 40.4%)
CIE-LABlab(40.09, 29.31, -34.99)
CIE-LCHlch(40.09, 45.64, 309.95°)
OKLaboklab(49.55% 0.0643 -0.098)
OKLCHoklch(49.55% 0.117 303.3)
XYZxyz(15.1443, 11.3037, 31.0837)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F98 #77984F
analogous
#4F5298 #704F98 #944F98
triadic
#704F98 #98704F #4F9870
tetradic
#704F98 #984F52 #77984F #4F9894
square
#704F98 #984F52 #77984F #4F9894
split-complementary
#704F98 #98944F #52984F
monochromatic
#352547 #523A70 #704F98 #8F70B5 #AE98C9

Accessibility & contrast

On white

6.44
#704F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#704F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F98
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F98#FFFFFF#000000##FFFFFF
##704F981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9B
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#695C6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704f98;
/* rgb */ color: rgb(112, 79, 152);
/* oklch */ color: oklch(49.6% 0.117 303.3);
Tailwind
colors: {
  custom: {
    50: '#9b81b6',
    500: '#704f98',
    950: '#000000',
  },
}
SCSS
$custom: #704f98;
$custom-light: #9b81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#704f98",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 267.123,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.11722,
    "h": 303.3
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#704F98
secondary
#A3B68D
accent
#C86099
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F98

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

Preview Lab → · Contrast checker → · Palette generator →

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