#704FE8#704FE8

#704FE8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.219 H 286.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#704FE8
RGBrgb(112, 79, 232)
HSLhsl(253, 77%, 61%)
HSVhsv(253, 66%, 91%)
CMYKcmyk(51.7%, 65.9%, 0%, 9%)
CIE-LABlab(45.44, 51.36, -72.96)
CIE-LCHlch(45.44, 89.22, 305.14°)
OKLaboklab(55.18% 0.0631 -0.2095)
OKLCHoklch(55.18% 0.219 286.8)
XYZxyz(24.0392, 14.8617, 77.9302)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE8 #C7E84F
analogous
#4F7AE8 #704FE8 #BC4FE8
triadic
#704FE8 #E8704F #4FE870
tetradic
#704FE8 #E84F7A #C7E84F #4FE8BC
square
#704FE8 #E84F7A #C7E84F #4FE8BC
split-complementary
#704FE8 #E8BC4F #7AE84F
monochromatic
#3516A7 #461DDD #704FE8 #9C85EF #C8BBF6

Accessibility & contrast

On white

5.29
#704FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#704FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE8#FFFFFF#000000##FFFFFF
##704FE81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#417595
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #704fe8;
/* rgb */ color: rgb(112, 79, 232);
/* oklch */ color: oklch(55.2% 0.219 286.8);
Tailwind
colors: {
  custom: {
    50: '#a382f0',
    500: '#704fe8',
    950: '#000000',
  },
}
SCSS
$custom: #704fe8;
$custom-light: #a382f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe8",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 252.941,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.21877,
    "h": 286.8
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#704FE8
secondary
#DAE6AD
accent
#D90CAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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