#704EA0#704EA0

#704EA0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.130 H 301.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#704EA0
RGBrgb(112, 78, 160)
HSLhsl(265, 34%, 47%)
HSVhsv(265, 51%, 63%)
CMYKcmyk(30%, 51.2%, 0%, 37.3%)
CIE-LABlab(40.30, 31.97, -39.45)
CIE-LCHlch(40.30, 50.78, 309.02°)
OKLaboklab(49.85% 0.0666 -0.111)
OKLCHoklch(49.85% 0.13 301)
XYZxyz(15.7502, 11.4315, 34.6276)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA0 #7EA04E
analogous
#4E55A0 #704EA0 #994EA0
triadic
#704EA0 #A0704E #4EA070
tetradic
#704EA0 #A04E55 #7EA04E #4EA099
square
#704EA0 #A04E55 #7EA04E #4EA099
split-complementary
#704EA0 #A0994E #55A04E
monochromatic
#36264E #533A77 #704EA0 #8F71BA #B09ACE

Accessibility & contrast

On white

6.39
#704EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#704EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA0#FFFFFF#000000##FFFFFF
##704EA01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA3
Deuteranopia (green-blind)
#3C5F9E
Tritanopia (blue-blind)
#675D6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ea0;
/* rgb */ color: rgb(112, 78, 160);
/* oklch */ color: oklch(49.9% 0.130 301.0);
Tailwind
colors: {
  custom: {
    50: '#9b80bc',
    500: '#704ea0',
    950: '#000000',
  },
}
SCSS
$custom: #704ea0;
$custom-light: #9b80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea0",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 264.878,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49854,
    "c": 0.1295,
    "h": 301
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#704EA0
secondary
#A9BB8F
accent
#CB5D9D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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