#704FD9#704FD9

#704FD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.201 H 288.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#704FD9
RGBrgb(112, 79, 217)
HSLhsl(254, 64%, 58%)
HSVhsv(254, 64%, 85%)
CMYKcmyk(48.4%, 63.6%, 0%, 14.9%)
CIE-LABlab(44.30, 47.08, -66.31)
CIE-LCHlch(44.30, 81.32, 305.38°)
OKLaboklab(53.99% 0.0649 -0.1899)
OKLCHoklch(53.99% 0.201 288.9)
XYZxyz(21.9988, 14.0455, 67.1841)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD9 #B8D94F
analogous
#4F73D9 #704FD9 #B54FD9
triadic
#704FD9 #D9704F #4FD970
tetradic
#704FD9 #D94F73 #B8D94F #4FD9B5
square
#704FD9 #D94F73 #B8D94F #4FD9B5
split-complementary
#704FD9 #D9B54F #73D94F
monochromatic
#3A1F8F #4E2AC1 #704FD9 #9981E4 #C2B4EF

Accessibility & contrast

On white

5.51
#704FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#704FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD9#FFFFFF#000000##FFFFFF
##704FD91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#4D708D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704fd9;
/* rgb */ color: rgb(112, 79, 217);
/* oklch */ color: oklch(54.0% 0.201 288.9);
Tailwind
colors: {
  custom: {
    50: '#a182e6',
    500: '#704fd9',
    950: '#000000',
  },
}
SCSS
$custom: #704fd9;
$custom-light: #a182e6;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd9",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 254.348,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.20068,
    "h": 288.9
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#704FD9
secondary
#D0DDA6
accent
#E740C0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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