#704EAD#704EAD

#704EAD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.147 H 297.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#704EAD
RGBrgb(112, 78, 173)
HSLhsl(261, 38%, 49%)
HSVhsv(261, 55%, 68%)
CMYKcmyk(35.3%, 54.9%, 0%, 32.2%)
CIE-LABlab(41.07, 35.42, -45.94)
CIE-LCHlch(41.07, 58.01, 307.63°)
OKLaboklab(50.68% 0.0675 -0.13)
OKLCHoklch(50.68% 0.147 297.4)
XYZxyz(16.9474, 11.9104, 40.9331)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EAD #8BAD4E
analogous
#4E5BAD #704EAD #A04EAD
triadic
#704EAD #AD704E #4EAD70
tetradic
#704EAD #AD4E5B #8BAD4E #4EADA0
square
#704EAD #AD4E5B #8BAD4E #4EADA0
split-complementary
#704EAD #ADA04E #5BAD4E
monochromatic
#392859 #553B83 #704EAD #9177C2 #B3A1D5

Accessibility & contrast

On white

6.21
#704EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#704EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EAD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EAD#FFFFFF#000000##FFFFFF
##704EAD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#626176
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704ead;
/* rgb */ color: rgb(112, 78, 173);
/* oklch */ color: oklch(50.7% 0.147 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c81c6',
    500: '#704ead',
    950: '#000000',
  },
}
SCSS
$custom: #704ead;
$custom-light: #9c81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#704ead",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 261.474,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.14652,
    "h": 297.4
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#704EAD
secondary
#B2C295
accent
#CE5AA4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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