#704DE1#704DE1

#704DE1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.213 H 288.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#704DE1
RGBrgb(112, 77, 225)
HSLhsl(254, 71%, 59%)
HSVhsv(254, 66%, 88%)
CMYKcmyk(50.2%, 65.8%, 0%, 11.8%)
CIE-LABlab(44.50, 50.45, -70.53)
CIE-LCHlch(44.50, 86.72, 305.57°)
OKLaboklab(54.33% 0.0659 -0.2023)
OKLCHoklch(54.33% 0.213 288)
XYZxyz(22.9226, 14.1877, 72.7502)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DE1 #BEE14D
analogous
#4D74E1 #704DE1 #BA4DE1
triadic
#704DE1 #E1704D #4DE170
tetradic
#704DE1 #E14D74 #BEE14D #4DE1BA
square
#704DE1 #E14D74 #BEE14D #4DE1BA
split-complementary
#704DE1 #E1BA4D #74E14D
monochromatic
#381A9A #4B23CE #704DE1 #9A81EA #C4B6F3

Accessibility & contrast

On white

5.47
#704DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#704DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DE1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DE1#FFFFFF#000000##FFFFFF
##704DE11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#477290
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704de1;
/* rgb */ color: rgb(112, 77, 225);
/* oklch */ color: oklch(54.3% 0.213 288.0);
Tailwind
colors: {
  custom: {
    50: '#a281eb',
    500: '#704de1',
    950: '#000000',
  },
}
SCSS
$custom: #704de1;
$custom-light: #a281eb;
$custom-dark: #000000;
JSON
{
  "hex": "#704de1",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 254.189,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.21279,
    "h": 288
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#704DE1
secondary
#D4E2A8
accent
#EE3AC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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