#704FF4#704FF4

#704FF4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.233 H 285.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#704FF4
RGBrgb(112, 79, 244)
HSLhsl(252, 88%, 63%)
HSVhsv(252, 68%, 96%)
CMYKcmyk(54.1%, 67.6%, 0%, 4.3%)
CIE-LABlab(46.40, 54.78, -78.15)
CIE-LCHlch(46.40, 95.44, 305.03°)
OKLaboklab(56.16% 0.0614 -0.2247)
OKLCHoklch(56.16% 0.233 285.3)
XYZxyz(25.8023, 15.5669, 87.2155)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FF4 #D3F44F
analogous
#4F80F4 #704FF4 #C24FF4
triadic
#704FF4 #F4704F #4FF470
tetradic
#704FF4 #F44F80 #D3F44F #4FF4C2
square
#704FF4 #F44F80 #D3F44F #4FF4C2
split-complementary
#704FF4 #F4C24F #80F44F
monochromatic
#2F0CBD #4115F0 #704FF4 #9F89F8 #CEC2FB

Accessibility & contrast

On white

5.11
#704FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#704FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FF4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FF4#FFFFFF#000000##FFFFFF
##704FF41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#357A9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #704ff4;
/* rgb */ color: rgb(112, 79, 244);
/* oklch */ color: oklch(56.2% 0.233 285.3);
Tailwind
colors: {
  custom: {
    50: '#a583f9',
    500: '#704ff4',
    950: '#000000',
  },
}
SCSS
$custom: #704ff4;
$custom-light: #a583f9;
$custom-dark: #000000;
JSON
{
  "hex": "#704ff4",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 252,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.23294,
    "h": 285.3
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#704FF4
secondary
#E1EDB2
accent
#E501B7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #704FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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