#704AB9#704AB9

#704AB9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.168 H 295.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#704AB9
RGBrgb(112, 74, 185)
HSLhsl(261, 44%, 51%)
HSVhsv(261, 60%, 73%)
CMYKcmyk(39.5%, 60%, 0%, 27.5%)
CIE-LABlab(40.97, 40.97, -53.18)
CIE-LCHlch(40.97, 67.13, 307.61°)
OKLaboklab(50.85% 0.0725 -0.1513)
OKLCHoklch(50.85% 0.168 295.6)
XYZxyz(17.8855, 11.8447, 47.2335)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AB9 #93B94A
analogous
#4A5BB9 #704AB9 #A84AB9
triadic
#704AB9 #B9704A #4AB970
tetradic
#704AB9 #B94A5B #93B94A #4AB9A8
square
#704AB9 #B94A5B #93B94A #4AB9A8
split-complementary
#704AB9 #B9A84A #5BB94A
monochromatic
#3B2663 #55378F #704AB9 #9376CA #B6A2DB

Accessibility & contrast

On white

6.23
#704AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#704AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AB9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AB9#FFFFFF#000000##FFFFFF
##704AB91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#165FB7
Tritanopia (blue-blind)
#5E627A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704ab9;
/* rgb */ color: rgb(112, 74, 185);
/* oklch */ color: oklch(50.9% 0.168 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e7ecf',
    500: '#704ab9',
    950: '#000000',
  },
}
SCSS
$custom: #704ab9;
$custom-light: #9e7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#704ab9",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 260.541,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.16779,
    "h": 295.6
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#704AB9
secondary
#B7C897
accent
#D454A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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