#704ED6#704ED6

#704ED6 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.198 H 289.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#704ED6
RGBrgb(112, 78, 214)
HSLhsl(255, 62%, 57%)
HSVhsv(255, 64%, 84%)
CMYKcmyk(47.7%, 63.6%, 0%, 16.1%)
CIE-LABlab(43.87, 46.79, -65.29)
CIE-LCHlch(43.87, 80.32, 305.63°)
OKLaboklab(53.61% 0.0662 -0.1869)
OKLCHoklch(53.61% 0.198 289.5)
XYZxyz(21.5406, 13.7477, 65.1239)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED6 #B4D64E
analogous
#4E70D6 #704ED6 #B44ED6
triadic
#704ED6 #D6704E #4ED670
tetradic
#704ED6 #D64E70 #B4D64E #4ED6B4
square
#704ED6 #D64E70 #B4D64E #4ED6B4
split-complementary
#704ED6 #D6B44E #70D64E
monochromatic
#3A208A #4F2BBB #704ED6 #9880E2 #C0B1ED

Accessibility & contrast

On white

5.60
#704ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#704ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED6#FFFFFF#000000##FFFFFF
##704ED61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#4F6F8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704ed6;
/* rgb */ color: rgb(112, 78, 214);
/* oklch */ color: oklch(53.6% 0.198 289.5);
Tailwind
colors: {
  custom: {
    50: '#a181e4',
    500: '#704ed6',
    950: '#000000',
  },
}
SCSS
$custom: #704ed6;
$custom-light: #a181e4;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed6",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 255,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.19827,
    "h": 289.5
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#704ED6
secondary
#CEDBA4
accent
#E542BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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