#704EA8#704EA8

#704EA8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.140 H 298.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#704EA8
RGBrgb(112, 78, 168)
HSLhsl(263, 37%, 48%)
HSVhsv(263, 54%, 66%)
CMYKcmyk(33.3%, 53.6%, 0%, 34.1%)
CIE-LABlab(40.77, 34.08, -43.47)
CIE-LCHlch(40.77, 55.23, 308.10°)
OKLaboklab(50.36% 0.0672 -0.1228)
OKLCHoklch(50.36% 0.14 298.7)
XYZxyz(16.4726, 11.7205, 38.4326)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA8 #86A84E
analogous
#4E59A8 #704EA8 #9D4EA8
triadic
#704EA8 #A8704E #4EA870
tetradic
#704EA8 #A84E59 #86A84E #4EA89D
square
#704EA8 #A84E59 #86A84E #4EA89D
split-complementary
#704EA8 #A89D4E #59A84E
monochromatic
#382754 #543B7E #704EA8 #9175BF #B29ED2

Accessibility & contrast

On white

6.28
#704EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#704EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA8#FFFFFF#000000##FFFFFF
##704EA81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#646073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704ea8;
/* rgb */ color: rgb(112, 78, 168);
/* oklch */ color: oklch(50.4% 0.140 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c80c2',
    500: '#704ea8',
    950: '#000000',
  },
}
SCSS
$custom: #704ea8;
$custom-light: #9c80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea8",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 262.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.14,
    "h": 298.7
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#704EA8
secondary
#AEBF93
accent
#CD5BA2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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