#704CE4#704CE4

#704CE4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.218 H 287.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#704CE4
RGBrgb(112, 76, 228)
HSLhsl(254, 74%, 60%)
HSVhsv(254, 67%, 89%)
CMYKcmyk(50.9%, 66.7%, 0%, 10.6%)
CIE-LABlab(44.54, 51.83, -72.18)
CIE-LCHlch(44.54, 88.86, 305.68°)
OKLaboklab(54.43% 0.0664 -0.2072)
OKLCHoklch(54.43% 0.218 287.8)
XYZxyz(23.2660, 14.2140, 74.9014)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE4 #C0E44C
analogous
#4C74E4 #704CE4 #BC4CE4
triadic
#704CE4 #E4704C #4CE470
tetradic
#704CE4 #E44C74 #C0E44C #4CE4BC
square
#704CE4 #E44C74 #C0E44C #4CE4BC
split-complementary
#704CE4 #E4BC4C #74E44C
monochromatic
#38189E #4A20D3 #704CE4 #9A81EC #C5B6F4

Accessibility & contrast

On white

5.46
#704CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#704CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE4#FFFFFF#000000##FFFFFF
##704CE41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#457292
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704ce4;
/* rgb */ color: rgb(112, 76, 228);
/* oklch */ color: oklch(54.4% 0.218 287.8);
Tailwind
colors: {
  custom: {
    50: '#a380ee',
    500: '#704ce4',
    950: '#000000',
  },
}
SCSS
$custom: #704ce4;
$custom-light: #a380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce4",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 254.211,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.21754,
    "h": 287.8
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#704CE4
secondary
#D5E3A8
accent
#F037C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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