#704AD9#704AD9

#704AD9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.207 H 289.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#704AD9
RGBrgb(112, 74, 217)
HSLhsl(256, 65%, 57%)
HSVhsv(256, 66%, 85%)
CMYKcmyk(48.4%, 65.9%, 0%, 14.9%)
CIE-LABlab(43.29, 49.82, -67.95)
CIE-LCHlch(43.29, 84.25, 306.25°)
OKLaboklab(53.26% 0.0698 -0.1947)
OKLCHoklch(53.26% 0.207 289.7)
XYZxyz(21.6517, 13.3512, 67.0684)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704AD9 #B3D94A
analogous
#4A6CD9 #704AD9 #B84AD9
triadic
#704AD9 #D9704A #4AD970
tetradic
#704AD9 #D94A6C #B3D94A #4AD9B8
square
#704AD9 #D94A6C #B3D94A #4AD9B8
split-complementary
#704AD9 #D9B84A #6CD94A
monochromatic
#3B1D8B #5028BE #704AD9 #987DE4 #C0AFEE

Accessibility & contrast

On white

5.72
#704AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#704AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704AD9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704AD9#FFFFFF#000000##FFFFFF
##704AD91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#4D6D8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704ad9;
/* rgb */ color: rgb(112, 74, 217);
/* oklch */ color: oklch(53.3% 0.207 289.7);
Tailwind
colors: {
  custom: {
    50: '#a17fe6',
    500: '#704ad9',
    950: '#000000',
  },
}
SCSS
$custom: #704ad9;
$custom-light: #a17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#704ad9",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 255.944,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.20687,
    "h": 289.7
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#704AD9
secondary
#CDDCA2
accent
#E840BB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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