#704DD7#704DD7

#704DD7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.5% C 0.201 H 289.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#704DD7
RGBrgb(112, 77, 215)
HSLhsl(255, 63%, 57%)
HSVhsv(255, 64%, 84%)
CMYKcmyk(47.9%, 64.2%, 0%, 15.7%)
CIE-LABlab(43.74, 47.62, -66.07)
CIE-LCHlch(43.74, 81.45, 305.78°)
OKLaboklab(53.54% 0.0671 -0.1892)
OKLCHoklch(53.54% 0.201 289.5)
XYZxyz(21.5982, 13.6579, 65.7750)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DD7 #B4D74D
analogous
#4D6FD7 #704DD7 #B54DD7
triadic
#704DD7 #D7704D #4DD770
tetradic
#704DD7 #D74D6F #B4D74D #4DD7B5
square
#704DD7 #D74D6F #B4D74D #4DD7B5
split-complementary
#704DD7 #D7B54D #6FD74D
monochromatic
#3A1F8A #4F2ABC #704DD7 #987FE2 #C0B1ED

Accessibility & contrast

On white

5.63
#704DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#704DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DD7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DD7#FFFFFF#000000##FFFFFF
##704DD71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.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: #704dd7;
/* rgb */ color: rgb(112, 77, 215);
/* oklch */ color: oklch(53.5% 0.201 289.5);
Tailwind
colors: {
  custom: {
    50: '#a181e4',
    500: '#704dd7',
    950: '#000000',
  },
}
SCSS
$custom: #704dd7;
$custom-light: #a181e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704dd7",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 255.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.20076,
    "h": 289.5
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#704DD7
secondary
#CEDCA4
accent
#E641BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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