#704FE6#704FE6

#704FE6 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.216 H 287.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#704FE6
RGBrgb(112, 79, 230)
HSLhsl(253, 75%, 61%)
HSVhsv(253, 66%, 90%)
CMYKcmyk(51.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(45.29, 50.79, -72.09)
CIE-LCHlch(45.29, 88.18, 305.17°)
OKLaboklab(55.02% 0.0634 -0.2069)
OKLCHoklch(55.02% 0.216 287)
XYZxyz(23.7568, 14.7487, 76.4426)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE6 #C5E64F
analogous
#4F79E6 #704FE6 #BC4FE6
triadic
#704FE6 #E6704F #4FE670
tetradic
#704FE6 #E64F79 #C5E64F #4FE6BC
square
#704FE6 #E64F79 #C5E64F #4FE6BC
split-complementary
#704FE6 #E6BC4F #79E64F
monochromatic
#3617A3 #481FD9 #704FE6 #9C85EE #C7BAF5

Accessibility & contrast

On white

5.32
#704FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#704FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE6#FFFFFF#000000##FFFFFF
##704FE61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#437594
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704fe6;
/* rgb */ color: rgb(112, 79, 230);
/* oklch */ color: oklch(55.0% 0.216 287.0);
Tailwind
colors: {
  custom: {
    50: '#a382ef',
    500: '#704fe6',
    950: '#000000',
  },
}
SCSS
$custom: #704fe6;
$custom-light: #a382ef;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe6",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 253.113,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55019,
    "c": 0.21639,
    "h": 287
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#704FE6
secondary
#D9E5AC
accent
#D70EAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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