#704EE3#704EE3

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

Color values

HEX#704EE3
RGBrgb(112, 78, 227)
HSLhsl(254, 73%, 60%)
HSVhsv(254, 66%, 89%)
CMYKcmyk(50.7%, 65.6%, 0%, 11%)
CIE-LABlab(44.86, 50.47, -71.09)
CIE-LCHlch(44.86, 87.19, 305.37°)
OKLaboklab(54.64% 0.0647 -0.204)
OKLCHoklch(54.64% 0.214 287.6)
XYZxyz(23.2675, 14.4385, 74.2191)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EE3 #C1E34E
analogous
#4E77E3 #704EE3 #BA4EE3
triadic
#704EE3 #E3704E #4EE370
tetradic
#704EE3 #E34E77 #C1E34E #4EE3BA
square
#704EE3 #E34E77 #C1E34E #4EE3BA
split-complementary
#704EE3 #E3BA4E #77E34E
monochromatic
#37199E #4A21D3 #704EE3 #9B83EB #C5B8F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704EE3#FFFFFF#000000##FFFFFF
##704EE31.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)
#006EE8
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#457392
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #704ee3;
/* rgb */ color: rgb(112, 78, 227);
/* oklch */ color: oklch(54.6% 0.214 287.6);
Tailwind
colors: {
  custom: {
    50: '#a282ed',
    500: '#704ee3',
    950: '#000000',
  },
}
SCSS
$custom: #704ee3;
$custom-light: #a282ed;
$custom-dark: #000000;
JSON
{
  "hex": "#704ee3",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 253.691,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.21398,
    "h": 287.6
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#704EE3
secondary
#D6E3AA
accent
#EF38C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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