#704CE8#704CE8

#704CE8 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.222 H 287.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#704CE8
RGBrgb(112, 76, 232)
HSLhsl(254, 77%, 60%)
HSVhsv(254, 67%, 91%)
CMYKcmyk(51.7%, 67.2%, 0%, 9%)
CIE-LABlab(44.86, 52.96, -73.92)
CIE-LCHlch(44.86, 90.94, 305.62°)
OKLaboklab(54.76% 0.0658 -0.2123)
OKLCHoklch(54.76% 0.222 287.2)
XYZxyz(23.8277, 14.4386, 77.8597)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE8 #C4E84C
analogous
#4C76E8 #704CE8 #BE4CE8
triadic
#704CE8 #E8704C #4CE870
tetradic
#704CE8 #E84C76 #C4E84C #4CE8BE
square
#704CE8 #E84C76 #C4E84C #4CE8BE
split-complementary
#704CE8 #E8BE4C #76E84C
monochromatic
#3615A4 #481CDB #704CE8 #9B82EF #C7B8F6

Accessibility & contrast

On white

5.40
#704CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#704CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE8#FFFFFF#000000##FFFFFF
##704CE81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#417494
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ce8;
/* rgb */ color: rgb(112, 76, 232);
/* oklch */ color: oklch(54.8% 0.222 287.2);
Tailwind
colors: {
  custom: {
    50: '#a381f0',
    500: '#704ce8',
    950: '#000000',
  },
}
SCSS
$custom: #704ce8;
$custom-light: #a381f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce8",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 253.846,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.22226,
    "h": 287.2
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#704CE8
secondary
#D8E6AA
accent
#D90CAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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