#704F95#704F95

#704F95 is a mid, moderate violet. Relative luminance 0.112; OKLCH L 49.4% C 0.113 H 304.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#704F95
RGBrgb(112, 79, 149)
HSLhsl(268, 31%, 45%)
HSVhsv(268, 47%, 58%)
CMYKcmyk(24.8%, 47%, 0%, 41.6%)
CIE-LABlab(39.93, 28.55, -33.44)
CIE-LCHlch(39.93, 43.97, 310.49°)
OKLaboklab(49.38% 0.0639 -0.0935)
OKLCHoklch(49.38% 0.113 304.3)
XYZxyz(14.9017, 11.2067, 29.8060)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F95 #74954F
analogous
#4F5195 #704F95 #934F95
triadic
#704F95 #95704F #4F9570
tetradic
#704F95 #954F51 #74954F #4F9593
square
#704F95 #954F51 #74954F #4F9593
split-complementary
#704F95 #95934F #51954F
monochromatic
#342545 #523A6D #704F95 #8F6FB2 #AE97C8

Accessibility & contrast

On white

6.48
#704F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#704F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F95#FFFFFF#000000##FFFFFF
##704F951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D98
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#6A5B6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704f95;
/* rgb */ color: rgb(112, 79, 149);
/* oklch */ color: oklch(49.4% 0.113 304.3);
Tailwind
colors: {
  custom: {
    50: '#9b81b4',
    500: '#704f95',
    950: '#000000',
  },
}
SCSS
$custom: #704f95;
$custom-light: #9b81b4;
$custom-dark: #000000;
JSON
{
  "hex": "#704f95",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 268.286,
    "s": 30.702,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.11322,
    "h": 304.3
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#704F95
secondary
#A1B48B
accent
#C76197
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #704F95

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

Preview Lab → · Contrast checker → · Palette generator →

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