#704EAA#704EAA

#704EAA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.143 H 298.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#704EAA
RGBrgb(112, 78, 170)
HSLhsl(262, 37%, 49%)
HSVhsv(262, 54%, 67%)
CMYKcmyk(34.1%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.89, 34.61, -44.46)
CIE-LCHlch(40.89, 56.34, 307.90°)
OKLaboklab(50.48% 0.0673 -0.1257)
OKLCHoklch(50.48% 0.143 298.2)
XYZxyz(16.6604, 11.7956, 39.4214)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EAA #88AA4E
analogous
#4E5AAA #704EAA #9E4EAA
triadic
#704EAA #AA704E #4EAA70
tetradic
#704EAA #AA4E5A #88AA4E #4EAA9E
square
#704EAA #AA4E5A #88AA4E #4EAA9E
split-complementary
#704EAA #AA9E4E #5AAA4E
monochromatic
#392856 #543B80 #704EAA #9175C0 #B29FD3

Accessibility & contrast

On white

6.25
#704EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#704EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EAA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EAA#FFFFFF#000000##FFFFFF
##704EAA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#636074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704eaa;
/* rgb */ color: rgb(112, 78, 170);
/* oklch */ color: oklch(50.5% 0.143 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c80c4',
    500: '#704eaa',
    950: '#000000',
  },
}
SCSS
$custom: #704eaa;
$custom-light: #9c80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#704eaa",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 262.174,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.14261,
    "h": 298.2
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#704EAA
secondary
#B0C094
accent
#CD5BA3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #704EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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