#704CE5#704CE5

#704CE5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.219 H 287.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#704CE5
RGBrgb(112, 76, 229)
HSLhsl(254, 75%, 60%)
HSVhsv(254, 67%, 90%)
CMYKcmyk(51.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(44.62, 52.12, -72.61)
CIE-LCHlch(44.62, 89.38, 305.67°)
OKLaboklab(54.51% 0.0663 -0.2084)
OKLCHoklch(54.51% 0.219 287.6)
XYZxyz(23.4052, 14.2696, 75.6346)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE5 #C1E54C
analogous
#4C74E5 #704CE5 #BD4CE5
triadic
#704CE5 #E5704C #4CE570
tetradic
#704CE5 #E54C74 #C1E54C #4CE5BD
square
#704CE5 #E54C74 #C1E54C #4CE5BD
split-complementary
#704CE5 #E5BD4C #74E54C
monochromatic
#37179F #4A1FD5 #704CE5 #9B81ED #C5B7F5

Accessibility & contrast

On white

5.45
#704CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#704CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE5#FFFFFF#000000##FFFFFF
##704CE51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#447392
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ce5;
/* rgb */ color: rgb(112, 76, 229);
/* oklch */ color: oklch(54.5% 0.219 287.6);
Tailwind
colors: {
  custom: {
    50: '#a380ee',
    500: '#704ce5',
    950: '#000000',
  },
}
SCSS
$custom: #704ce5;
$custom-light: #a380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce5",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 254.118,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.21872,
    "h": 287.6
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#704CE5
secondary
#D6E4A9
accent
#F137C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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