#704EEC#704EEC

#704EEC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.225 H 286.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#704EEC
RGBrgb(112, 78, 236)
HSLhsl(253, 81%, 62%)
HSVhsv(253, 67%, 93%)
CMYKcmyk(52.5%, 66.9%, 0%, 7.5%)
CIE-LABlab(45.56, 53.03, -75.03)
CIE-LCHlch(45.56, 91.88, 305.25°)
OKLaboklab(55.36% 0.0635 -0.2155)
OKLCHoklch(55.36% 0.225 286.4)
XYZxyz(24.5423, 14.9484, 80.9327)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EEC #CAEC4E
analogous
#4E7BEC #704EEC #BF4EEC
triadic
#704EEC #EC704E #4EEC70
tetradic
#704EEC #EC4E7B #CAEC4E #4EECBF
square
#704EEC #EC4E7B #CAEC4E #4EECBF
split-complementary
#704EEC #ECBF4E #7BEC4E
monochromatic
#3413AD #4419E4 #704EEC #9D85F2 #C9BDF8

Accessibility & contrast

On white

5.26
#704EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#704EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EEC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EEC#FFFFFF#000000##FFFFFF
##704EEC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#3E7697
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #704eec;
/* rgb */ color: rgb(112, 78, 236);
/* oklch */ color: oklch(55.4% 0.225 286.4);
Tailwind
colors: {
  custom: {
    50: '#a482f3',
    500: '#704eec',
    950: '#000000',
  },
}
SCSS
$custom: #704eec;
$custom-light: #a482f3;
$custom-dark: #000000;
JSON
{
  "hex": "#704eec",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 252.911,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.22468,
    "h": 286.4
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#704EEC
secondary
#DCE8AE
accent
#DD09AF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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