#704FF7#704FF7

#704FF7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.236 H 284.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#704FF7
RGBrgb(112, 79, 247)
HSLhsl(252, 91%, 64%)
HSVhsv(252, 68%, 97%)
CMYKcmyk(54.7%, 68%, 0%, 3.1%)
CIE-LABlab(46.65, 55.64, -79.43)
CIE-LCHlch(46.65, 96.98, 305.01°)
OKLaboklab(56.42% 0.0609 -0.2285)
OKLCHoklch(56.42% 0.236 284.9)
XYZxyz(26.2615, 15.7506, 89.6340)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FF7 #D6F74F
analogous
#4F82F7 #704FF7 #C44FF7
triadic
#704FF7 #F7704F #4FF770
tetradic
#704FF7 #F74F82 #D6F74F #4FF7C4
square
#704FF7 #F74F82 #D6F74F #4FF7C4
split-complementary
#704FF7 #F7C44F #82F74F
monochromatic
#2D09C3 #4014F4 #704FF7 #A08AFA #CFC4FC

Accessibility & contrast

On white

5.06
#704FF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#704FF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FF7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FF7#FFFFFF#000000##FFFFFF
##704FF71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704ff7;
/* rgb */ color: rgb(112, 79, 247);
/* oklch */ color: oklch(56.4% 0.236 284.9);
Tailwind
colors: {
  custom: {
    50: '#a583fb',
    500: '#704ff7',
    950: '#000000',
  },
}
SCSS
$custom: #704ff7;
$custom-light: #a583fb;
$custom-dark: #000000;
JSON
{
  "hex": "#704ff7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 247
  },
  "hsl": {
    "h": 251.786,
    "s": 91.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.23644,
    "h": 284.9
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#704FF7
secondary
#E3EEB3
accent
#E600B8
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #704FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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