#704CE7#704CE7

#704CE7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.221 H 287.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#704CE7
RGBrgb(112, 76, 231)
HSLhsl(254, 76%, 60%)
HSVhsv(254, 67%, 91%)
CMYKcmyk(51.5%, 67.1%, 0%, 9.4%)
CIE-LABlab(44.78, 52.68, -73.49)
CIE-LCHlch(44.78, 90.42, 305.64°)
OKLaboklab(54.68% 0.066 -0.211)
OKLCHoklch(54.68% 0.221 287.4)
XYZxyz(23.6861, 14.3820, 77.1137)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CE7 #C3E74C
analogous
#4C76E7 #704CE7 #BD4CE7
triadic
#704CE7 #E7704C #4CE770
tetradic
#704CE7 #E74C76 #C3E74C #4CE7BD
square
#704CE7 #E74C76 #C3E74C #4CE7BD
split-complementary
#704CE7 #E7BD4C #76E74C
monochromatic
#3716A3 #491DD9 #704CE7 #9B82EE #C6B8F5

Accessibility & contrast

On white

5.42
#704CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#704CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CE7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CE7#FFFFFF#000000##FFFFFF
##704CE71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#427393
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ce7;
/* rgb */ color: rgb(112, 76, 231);
/* oklch */ color: oklch(54.7% 0.221 287.4);
Tailwind
colors: {
  custom: {
    50: '#a380f0',
    500: '#704ce7',
    950: '#000000',
  },
}
SCSS
$custom: #704ce7;
$custom-light: #a380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#704ce7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 253.935,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.22108,
    "h": 287.4
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#704CE7
secondary
#D7E5AA
accent
#D90DA9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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