#704EDB#704EDB

#704EDB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.204 H 288.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#704EDB
RGBrgb(112, 78, 219)
HSLhsl(254, 66%, 58%)
HSVhsv(254, 64%, 86%)
CMYKcmyk(48.9%, 64.4%, 0%, 14.1%)
CIE-LABlab(44.24, 48.20, -67.54)
CIE-LCHlch(44.24, 82.97, 305.52°)
OKLaboklab(54% 0.0656 -0.1935)
OKLCHoklch(54% 0.204 288.7)
XYZxyz(22.1890, 14.0070, 68.5386)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EDB #B9DB4E
analogous
#4E72DB #704EDB #B64EDB
triadic
#704EDB #DB704E #4EDB70
tetradic
#704EDB #DB4E72 #B9DB4E #4EDBB6
square
#704EDB #DB4E72 #B9DB4E #4EDBB6
split-complementary
#704EDB #DBB64E #72DB4E
monochromatic
#391E91 #4D28C4 #704EDB #9981E5 #C2B4F0

Accessibility & contrast

On white

5.52
#704EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#704EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EDB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EDB#FFFFFF#000000##FFFFFF
##704EDB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#4B708E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704edb;
/* rgb */ color: rgb(112, 78, 219);
/* oklch */ color: oklch(54.0% 0.204 288.7);
Tailwind
colors: {
  custom: {
    50: '#a181e7',
    500: '#704edb',
    950: '#000000',
  },
}
SCSS
$custom: #704edb;
$custom-light: #a181e7;
$custom-dark: #000000;
JSON
{
  "hex": "#704edb",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 254.468,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.20436,
    "h": 288.7
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#704EDB
secondary
#D1DEA6
accent
#E93FC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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