#704EF7#704EF7

#704EF7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.238 H 285.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#704EF7
RGBrgb(112, 78, 247)
HSLhsl(252, 91%, 64%)
HSVhsv(252, 68%, 97%)
CMYKcmyk(54.7%, 68.4%, 0%, 3.1%)
CIE-LABlab(46.46, 56.16, -79.74)
CIE-LCHlch(46.46, 97.54, 305.16°)
OKLaboklab(56.28% 0.0617 -0.2294)
OKLCHoklch(56.28% 0.238 285.1)
XYZxyz(26.1899, 15.6074, 89.6102)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EF7 #D5F74E
analogous
#4E80F7 #704EF7 #C44EF7
triadic
#704EF7 #F7704E #4EF770
tetradic
#704EF7 #F74E80 #D5F74E #4EF7C4
square
#704EF7 #F74E80 #D5F74E #4EF7C4
split-complementary
#704EF7 #F7C44E #80F74E
monochromatic
#2E09C2 #4113F4 #704EF7 #9F89FA #CFC3FC

Accessibility & contrast

On white

5.09
#704EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#704EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EF7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EF7#FFFFFF#000000##FFFFFF
##704EF71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#317A9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #704ef7;
/* rgb */ color: rgb(112, 78, 247);
/* oklch */ color: oklch(56.3% 0.238 285.1);
Tailwind
colors: {
  custom: {
    50: '#a582fb',
    500: '#704ef7',
    950: '#000000',
  },
}
SCSS
$custom: #704ef7;
$custom-light: #a582fb;
$custom-dark: #000000;
JSON
{
  "hex": "#704ef7",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 252.071,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.23753,
    "h": 285.1
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#704EF7
secondary
#E2EEB3
accent
#E600B7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #704EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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