#704FD6#704FD6

#704FD6 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.197 H 289.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#704FD6
RGBrgb(112, 79, 214)
HSLhsl(255, 62%, 57%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.7%, 63.1%, 0%, 16.1%)
CIE-LABlab(44.08, 46.23, -64.95)
CIE-LCHlch(44.08, 79.72, 305.44°)
OKLaboklab(53.76% 0.0651 -0.1859)
OKLCHoklch(53.76% 0.197 289.3)
XYZxyz(21.6122, 13.8909, 65.1477)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD6 #B5D64F
analogous
#4F71D6 #704FD6 #B44FD6
triadic
#704FD6 #D6704F #4FD670
tetradic
#704FD6 #D64F71 #B5D64F #4FD6B4
square
#704FD6 #D64F71 #B5D64F #4FD6B4
split-complementary
#704FD6 #D6B44F #71D64F
monochromatic
#3A208A #4F2CBC #704FD6 #9881E2 #C1B2ED

Accessibility & contrast

On white

5.56
#704FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#704FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD6#FFFFFF#000000##FFFFFF
##704FD61.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#4F6F8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704fd6;
/* rgb */ color: rgb(112, 79, 214);
/* oklch */ color: oklch(53.8% 0.197 289.3);
Tailwind
colors: {
  custom: {
    50: '#a182e4',
    500: '#704fd6',
    950: '#000000',
  },
}
SCSS
$custom: #704fd6;
$custom-light: #a182e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd6",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 254.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.197,
    "h": 289.3
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#704FD6
secondary
#CEDCA5
accent
#E543BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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