#704CD7#704CD7

#704CD7 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.202 H 289.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#704CD7
RGBrgb(112, 76, 215)
HSLhsl(256, 63%, 57%)
HSVhsv(256, 65%, 84%)
CMYKcmyk(47.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(43.54, 48.17, -66.40)
CIE-LCHlch(43.54, 82.03, 305.96°)
OKLaboklab(53.4% 0.0681 -0.1902)
OKLCHoklch(53.4% 0.202 289.7)
XYZxyz(21.5288, 13.5191, 65.7519)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD7 #B3D74C
analogous
#4C6DD7 #704CD7 #B64CD7
triadic
#704CD7 #D7704C #4CD770
tetradic
#704CD7 #D74C6D #B3D74C #4CD7B6
square
#704CD7 #D74C6D #B3D74C #4CD7B6
split-complementary
#704CD7 #D7B64C #6DD74C
monochromatic
#3B1F8A #502ABC #704CD7 #987EE2 #C0B0ED

Accessibility & contrast

On white

5.67
#704CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#704CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD7#FFFFFF#000000##FFFFFF
##704CD71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#4E6E8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704cd7;
/* rgb */ color: rgb(112, 76, 215);
/* oklch */ color: oklch(53.4% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#a180e4',
    500: '#704cd7',
    950: '#000000',
  },
}
SCSS
$custom: #704cd7;
$custom-light: #a180e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 255.54,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.202,
    "h": 289.7
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#704CD7
secondary
#CDDCA3
accent
#E641BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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