#704FD5#704FD5

#704FD5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.196 H 289.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#704FD5
RGBrgb(112, 79, 213)
HSLhsl(255, 61%, 57%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(44.00, 45.95, -64.50)
CIE-LCHlch(44.00, 79.19, 305.47°)
OKLaboklab(53.69% 0.0652 -0.1846)
OKLCHoklch(53.69% 0.196 289.5)
XYZxyz(21.4849, 13.8399, 64.4772)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD5 #B4D54F
analogous
#4F71D5 #704FD5 #B34FD5
triadic
#704FD5 #D5704F #4FD570
tetradic
#704FD5 #D54F71 #B4D54F #4FD5B3
square
#704FD5 #D54F71 #B4D54F #4FD5B3
split-complementary
#704FD5 #D5B34F #71D54F
monochromatic
#3A2189 #4F2CBA #704FD5 #9880E1 #C0B2ED

Accessibility & contrast

On white

5.57
#704FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#704FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD5#FFFFFF#000000##FFFFFF
##704FD51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704fd5;
/* rgb */ color: rgb(112, 79, 213);
/* oklch */ color: oklch(53.7% 0.196 289.5);
Tailwind
colors: {
  custom: {
    50: '#a182e3',
    500: '#704fd5',
    950: '#000000',
  },
}
SCSS
$custom: #704fd5;
$custom-light: #a182e3;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd5",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 254.776,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.19577,
    "h": 289.5
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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