#704AB0#704AB0

#704AB0 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.156 H 297.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#704AB0
RGBrgb(112, 74, 176)
HSLhsl(262, 41%, 49%)
HSVhsv(262, 58%, 69%)
CMYKcmyk(36.4%, 58%, 0%, 31%)
CIE-LABlab(40.37, 38.54, -48.84)
CIE-LCHlch(40.37, 62.22, 308.28°)
OKLaboklab(50.22% 0.0727 -0.1386)
OKLCHoklch(50.22% 0.156 297.7)
XYZxyz(16.9654, 11.4767, 42.3873)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AB0 #8AB04A
analogous
#4A57B0 #704AB0 #A34AB0
triadic
#704AB0 #B0704A #4AB070
tetradic
#704AB0 #B04A57 #8AB04A #4AB0A3
square
#704AB0 #B04A57 #8AB04A #4AB0A3
split-complementary
#704AB0 #B0A34A #57B04A
monochromatic
#39265A #553885 #704AB0 #9173C4 #B39ED6

Accessibility & contrast

On white

6.37
#704AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#704AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AB0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AB0#FFFFFF#000000##FFFFFF
##704AB01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB3
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#615F76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ab0;
/* rgb */ color: rgb(112, 74, 176);
/* oklch */ color: oklch(50.2% 0.156 297.7);
Tailwind
colors: {
  custom: {
    50: '#9d7ec8',
    500: '#704ab0',
    950: '#000000',
  },
}
SCSS
$custom: #704ab0;
$custom-light: #9d7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#704ab0",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 262.353,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.15646,
    "h": 297.7
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#704AB0
secondary
#B1C393
accent
#D157A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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