#704FE5#704FE5

#704FE5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.215 H 287.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#704FE5
RGBrgb(112, 79, 229)
HSLhsl(253, 74%, 60%)
HSVhsv(253, 66%, 90%)
CMYKcmyk(51.1%, 65.5%, 0%, 10.2%)
CIE-LABlab(45.21, 50.50, -71.65)
CIE-LCHlch(45.21, 87.66, 305.18°)
OKLaboklab(54.94% 0.0635 -0.2056)
OKLCHoklch(54.94% 0.215 287.2)
XYZxyz(23.6168, 14.6927, 75.7051)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE5 #C4E54F
analogous
#4F79E5 #704FE5 #BB4FE5
triadic
#704FE5 #E5704F #4FE570
tetradic
#704FE5 #E54F79 #C4E54F #4FE5BB
square
#704FE5 #E54F79 #C4E54F #4FE5BB
split-complementary
#704FE5 #E5BB4F #79E54F
monochromatic
#3618A2 #4820D7 #704FE5 #9B84ED #C7BAF5

Accessibility & contrast

On white

5.33
#704FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#704FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE5#FFFFFF#000000##FFFFFF
##704FE51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#447493
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704fe5;
/* rgb */ color: rgb(112, 79, 229);
/* oklch */ color: oklch(54.9% 0.215 287.2);
Tailwind
colors: {
  custom: {
    50: '#a382ee',
    500: '#704fe5',
    950: '#000000',
  },
}
SCSS
$custom: #704fe5;
$custom-light: #a382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe5",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 253.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.21519,
    "h": 287.2
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#704FE5
secondary
#D8E5AB
accent
#D60FAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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