#704DF4#704DF4

#704DF4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.235 H 285.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#704DF4
RGBrgb(112, 77, 244)
HSLhsl(253, 88%, 63%)
HSVhsv(253, 68%, 96%)
CMYKcmyk(54.1%, 68.4%, 0%, 4.3%)
CIE-LABlab(46.02, 55.83, -78.78)
CIE-LCHlch(46.02, 96.56, 305.33°)
OKLaboklab(55.89% 0.0631 -0.2265)
OKLCHoklch(55.89% 0.235 285.6)
XYZxyz(25.6602, 15.2827, 87.1682)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DF4 #D1F44D
analogous
#4D7DF4 #704DF4 #C44DF4
triadic
#704DF4 #F4704D #4DF470
tetradic
#704DF4 #F44D7D #D1F44D #4DF4C4
square
#704DF4 #F44D7D #D1F44D #4DF4C4
split-complementary
#704DF4 #F4C44D #7DF44D
monochromatic
#300CBB #4213F0 #704DF4 #9E87F8 #CDC0FB

Accessibility & contrast

On white

5.18
#704DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#704DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DF4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DF4#FFFFFF#000000##FFFFFF
##704DF41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#35799B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #704df4;
/* rgb */ color: rgb(112, 77, 244);
/* oklch */ color: oklch(55.9% 0.235 285.6);
Tailwind
colors: {
  custom: {
    50: '#a582f9',
    500: '#704df4',
    950: '#000000',
  },
}
SCSS
$custom: #704df4;
$custom-light: #a582f9;
$custom-dark: #000000;
JSON
{
  "hex": "#704df4",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 252.575,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.23515,
    "h": 285.6
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#704DF4
secondary
#E0ECB0
accent
#E501B5
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #704DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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