#704DE8#704DE8

#704DE8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.221 H 287.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#704DE8
RGBrgb(112, 77, 232)
HSLhsl(254, 77%, 61%)
HSVhsv(254, 67%, 91%)
CMYKcmyk(51.7%, 66.8%, 0%, 9%)
CIE-LABlab(45.05, 52.43, -73.61)
CIE-LCHlch(45.05, 90.37, 305.46°)
OKLaboklab(54.9% 0.0649 -0.2114)
OKLCHoklch(54.9% 0.221 287.1)
XYZxyz(23.8971, 14.5775, 77.8828)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE8 #C5E84D
analogous
#4D78E8 #704DE8 #BD4DE8
triadic
#704DE8 #E8704D #4DE870
tetradic
#704DE8 #E84D78 #C5E84D #4DE8BD
square
#704DE8 #E84D78 #C5E84D #4DE8BD
split-complementary
#704DE8 #E8BD4D #78E84D
monochromatic
#3615A5 #481CDB #704DE8 #9C83EF #C7B9F6

Accessibility & contrast

On white

5.36
#704DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#704DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DE8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DE8#FFFFFF#000000##FFFFFF
##704DE81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#417494
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704de8;
/* rgb */ color: rgb(112, 77, 232);
/* oklch */ color: oklch(54.9% 0.221 287.1);
Tailwind
colors: {
  custom: {
    50: '#a381f0',
    500: '#704de8',
    950: '#000000',
  },
}
SCSS
$custom: #704de8;
$custom-light: #a381f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704de8",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 253.548,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.22111,
    "h": 287.1
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#704DE8
secondary
#D9E6AB
accent
#D90CAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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