#704792#704792

#704792 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.8% C 0.123 H 307.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#704792
RGBrgb(112, 71, 146)
HSLhsl(273, 35%, 43%)
HSVhsv(273, 51%, 57%)
CMYKcmyk(23.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.89, 32.54, -34.84)
CIE-LCHlch(37.89, 47.67, 313.04°)
OKLaboklab(47.81% 0.0752 -0.0976)
OKLCHoklch(47.81% 0.123 307.6)
XYZxyz(14.1226, 10.0267, 28.3799)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704792 #699247
analogous
#4B4792 #704792 #92478E
triadic
#704792 #927047 #479270
tetradic
#704792 #924B47 #699247 #478E92
square
#704792 #924B47 #699247 #478E92
split-complementary
#704792 #8E9247 #47924B
monochromatic
#311F40 #503369 #704792 #8F63B3 #AC8CC7

Accessibility & contrast

On white

6.99
#704792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#704792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704792
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704792#FFFFFF#000000##FFFFFF
##7047921.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325895
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#6B5466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #704792;
/* rgb */ color: rgb(112, 71, 146);
/* oklch */ color: oklch(47.8% 0.123 307.6);
Tailwind
colors: {
  custom: {
    50: '#9b7bb2',
    500: '#704792',
    950: '#000000',
  },
}
SCSS
$custom: #704792;
$custom-light: #9b7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#704792",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 272.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.12318,
    "h": 307.6
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#704792
secondary
#98B382
accent
#CB5D8F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #704792

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

Preview Lab → · Contrast checker → · Palette generator →

#704792 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva