#704AB2#704AB2

#704AB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.159 H 297.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#704AB2
RGBrgb(112, 74, 178)
HSLhsl(262, 41%, 49%)
HSVhsv(262, 58%, 70%)
CMYKcmyk(37.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(40.50, 39.08, -49.81)
CIE-LCHlch(40.50, 63.31, 308.11°)
OKLaboklab(50.36% 0.0727 -0.1414)
OKLCHoklch(50.36% 0.159 297.2)
XYZxyz(17.1647, 11.5564, 43.4371)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AB2 #8CB24A
analogous
#4A58B2 #704AB2 #A44AB2
triadic
#704AB2 #B2704A #4AB270
tetradic
#704AB2 #B24A58 #8CB24A #4AB2A4
square
#704AB2 #B24A58 #8CB24A #4AB2A4
split-complementary
#704AB2 #B2A44A #58B24A
monochromatic
#3A265C #553887 #704AB2 #9274C5 #B49FD7

Accessibility & contrast

On white

6.34
#704AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#704AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AB2#FFFFFF#000000##FFFFFF
##704AB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#616077
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ab2;
/* rgb */ color: rgb(112, 74, 178);
/* oklch */ color: oklch(50.4% 0.159 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d7eca',
    500: '#704ab2',
    950: '#000000',
  },
}
SCSS
$custom: #704ab2;
$custom-light: #9d7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#704ab2",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 261.923,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.15899,
    "h": 297.2
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#704AB2
secondary
#B2C494
accent
#D157A4
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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