#704AC0#704AC0

#704AC0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.176 H 294.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#704AC0
RGBrgb(112, 74, 192)
HSLhsl(259, 48%, 52%)
HSVhsv(259, 61%, 75%)
CMYKcmyk(41.7%, 61.5%, 0%, 24.7%)
CIE-LABlab(41.45, 42.88, -56.50)
CIE-LCHlch(41.45, 70.93, 307.20°)
OKLaboklab(51.36% 0.0722 -0.1611)
OKLCHoklch(51.36% 0.177 294.1)
XYZxyz(18.6428, 12.1476, 51.2214)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AC0 #9AC04A
analogous
#4A5FC0 #704AC0 #AB4AC0
triadic
#704AC0 #C0704A #4AC070
tetradic
#704AC0 #C04A5F #9AC04A #4AC0AB
square
#704AC0 #C04A5F #9AC04A #4AC0AB
split-complementary
#704AC0 #C0AB4A #5FC04A
monochromatic
#3B256B #553598 #704AC0 #9477D0 #B8A5E0

Accessibility & contrast

On white

6.12
#704AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#704AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AC0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AC0#FFFFFF#000000##FFFFFF
##704AC01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704ac0;
/* rgb */ color: rgb(112, 74, 192);
/* oklch */ color: oklch(51.4% 0.176 294.1);
Tailwind
colors: {
  custom: {
    50: '#9f7ed4',
    500: '#704ac0',
    950: '#000000',
  },
}
SCSS
$custom: #704ac0;
$custom-light: #9f7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#704ac0",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 259.322,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.1765,
    "h": 294.1
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#704AC0
secondary
#BCCD99
accent
#D850AC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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