#704EDA#704EDA

#704EDA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 53.9% C 0.203 H 288.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#704EDA
RGBrgb(112, 78, 218)
HSLhsl(255, 65%, 58%)
HSVhsv(255, 64%, 85%)
CMYKcmyk(48.6%, 64.2%, 0%, 14.5%)
CIE-LABlab(44.17, 47.92, -67.09)
CIE-LCHlch(44.17, 82.45, 305.54°)
OKLaboklab(53.92% 0.0658 -0.1922)
OKLCHoklch(53.92% 0.203 288.9)
XYZxyz(22.0577, 13.9545, 67.8473)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EDA #B8DA4E
analogous
#4E72DA #704EDA #B64EDA
triadic
#704EDA #DA704E #4EDA70
tetradic
#704EDA #DA4E72 #B8DA4E #4EDAB6
square
#704EDA #DA4E72 #B8DA4E #4EDAB6
split-complementary
#704EDA #DAB64E #72DA4E
monochromatic
#3A1E90 #4E29C2 #704EDA #9981E5 #C2B3EF

Accessibility & contrast

On white

5.54
#704EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#704EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EDA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EDA#FFFFFF#000000##FFFFFF
##704EDA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#4C708D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704eda;
/* rgb */ color: rgb(112, 78, 218);
/* oklch */ color: oklch(53.9% 0.203 288.9);
Tailwind
colors: {
  custom: {
    50: '#a181e6',
    500: '#704eda',
    950: '#000000',
  },
}
SCSS
$custom: #704eda;
$custom-light: #a181e6;
$custom-dark: #000000;
JSON
{
  "hex": "#704eda",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 254.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.20314,
    "h": 288.9
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#704EDA
secondary
#D0DEA6
accent
#E83FBF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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