#704FED#704FED

#704FED is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.225 H 286.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#704FED
RGBrgb(112, 79, 237)
HSLhsl(253, 81%, 62%)
HSVhsv(253, 67%, 93%)
CMYKcmyk(52.7%, 66.7%, 0%, 7.1%)
CIE-LABlab(45.84, 52.78, -75.14)
CIE-LCHlch(45.84, 91.83, 305.09°)
OKLaboklab(55.59% 0.0624 -0.2159)
OKLCHoklch(55.59% 0.225 286.1)
XYZxyz(24.7596, 15.1498, 81.7239)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FED #CCED4F
analogous
#4F7DED #704FED #BF4FED
triadic
#704FED #ED704F #4FED70
tetradic
#704FED #ED4F7D #CCED4F #4FEDBF
square
#704FED #ED4F7D #CCED4F #4FEDBF
split-complementary
#704FED #EDBF4F #7DED4F
monochromatic
#3312B0 #4318E7 #704FED #9D87F3 #CABEF8

Accessibility & contrast

On white

5.21
#704FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#704FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FED#FFFFFF#000000##FFFFFF
##704FED1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#3D7798
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #704fed;
/* rgb */ color: rgb(112, 79, 237);
/* oklch */ color: oklch(55.6% 0.225 286.1);
Tailwind
colors: {
  custom: {
    50: '#a483f4',
    500: '#704fed',
    950: '#000000',
  },
}
SCSS
$custom: #704fed;
$custom-light: #a483f4;
$custom-dark: #000000;
JSON
{
  "hex": "#704fed",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 252.532,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.22471,
    "h": 286.1
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#704FED
secondary
#DDE9AF
accent
#DE08B1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FED

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

Preview Lab → · Contrast checker → · Palette generator →

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