#704ECA#704ECA

#704ECA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.183 H 291.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#704ECA
RGBrgb(112, 78, 202)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 61%, 79%)
CMYKcmyk(44.6%, 61.4%, 0%, 20.8%)
CIE-LABlab(43.00, 43.41, -59.79)
CIE-LCHlch(43.00, 73.89, 305.98°)
OKLaboklab(52.71% 0.0671 -0.1708)
OKLCHoklch(52.71% 0.183 291.5)
XYZxyz(20.0642, 13.1571, 57.3481)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ECA #A8CA4E
analogous
#4E6ACA #704ECA #AE4ECA
triadic
#704ECA #CA704E #4ECA70
tetradic
#704ECA #CA4E6A #A8CA4E #4ECAAE
square
#704ECA #CA4E6A #A8CA4E #4ECAAE
split-complementary
#704ECA #CAAE4E #6ACA4E
monochromatic
#3C2479 #5332A8 #704ECA #967DD8 #BCACE6

Accessibility & contrast

On white

5.78
#704ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ECA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ECA#FFFFFF#000000##FFFFFF
##704ECA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#566A85
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704eca;
/* rgb */ color: rgb(112, 78, 202);
/* oklch */ color: oklch(52.7% 0.183 291.5);
Tailwind
colors: {
  custom: {
    50: '#9f81db',
    500: '#704eca',
    950: '#000000',
  },
}
SCSS
$custom: #704eca;
$custom-light: #9f81db;
$custom-dark: #000000;
JSON
{
  "hex": "#704eca",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 256.452,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.18347,
    "h": 291.5
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#704ECA
secondary
#C6D4A0
accent
#DD4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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