#704ED3#704ED3

#704ED3 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.195 H 290.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#704ED3
RGBrgb(112, 78, 211)
HSLhsl(255, 60%, 57%)
HSVhsv(255, 63%, 83%)
CMYKcmyk(46.9%, 63%, 0%, 17.3%)
CIE-LABlab(43.65, 45.94, -63.93)
CIE-LCHlch(43.65, 78.72, 305.70°)
OKLaboklab(53.38% 0.0664 -0.1829)
OKLCHoklch(53.38% 0.195 290)
XYZxyz(21.1610, 13.5959, 63.1247)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED3 #B1D34E
analogous
#4E6FD3 #704ED3 #B24ED3
triadic
#704ED3 #D3704E #4ED370
tetradic
#704ED3 #D34E6F #B1D34E #4ED3B2
square
#704ED3 #D34E6F #B1D34E #4ED3B2
split-complementary
#704ED3 #D3B24E #6FD34E
monochromatic
#3B2185 #502DB6 #704ED3 #987FDF #BFB0EB

Accessibility & contrast

On white

5.65
#704ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#704ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED3#FFFFFF#000000##FFFFFF
##704ED31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#506D89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704ed3;
/* rgb */ color: rgb(112, 78, 211);
/* oklch */ color: oklch(53.4% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#a081e1',
    500: '#704ed3',
    950: '#000000',
  },
}
SCSS
$custom: #704ed3;
$custom-light: #a081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed3",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 255.338,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.1946,
    "h": 290
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#704ED3
secondary
#CCDAA3
accent
#E344BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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