#704FD7#704FD7

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

Color values

HEX#704FD7
RGBrgb(112, 79, 215)
HSLhsl(255, 63%, 58%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.9%, 63.3%, 0%, 15.7%)
CIE-LABlab(44.15, 46.52, -65.40)
CIE-LCHlch(44.15, 80.26, 305.42°)
OKLaboklab(53.84% 0.065 -0.1872)
OKLCHoklch(53.84% 0.198 289.2)
XYZxyz(21.7403, 13.9421, 65.8224)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FD7 #B6D74F
analogous
#4F72D7 #704FD7 #B44FD7
triadic
#704FD7 #D7704F #4FD770
tetradic
#704FD7 #D74F72 #B6D74F #4FD7B4
square
#704FD7 #D74F72 #B6D74F #4FD7B4
split-complementary
#704FD7 #D7B44F #72D74F
monochromatic
#3A208C #4F2BBE #704FD7 #9981E2 #C1B3EE

Accessibility & contrast

On white

5.54
#704FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#704FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FD7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FD7#FFFFFF#000000##FFFFFF
##704FD71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#4E6F8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704fd7;
/* rgb */ color: rgb(112, 79, 215);
/* oklch */ color: oklch(53.8% 0.198 289.2);
Tailwind
colors: {
  custom: {
    50: '#a182e4',
    500: '#704fd7',
    950: '#000000',
  },
}
SCSS
$custom: #704fd7;
$custom-light: #a182e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704fd7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 254.559,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.19822,
    "h": 289.2
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#704FD7
secondary
#CFDCA6
accent
#E642BE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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