#704ED2#704ED2

#704ED2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.193 H 290.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#704ED2
RGBrgb(112, 78, 210)
HSLhsl(255, 59%, 56%)
HSVhsv(255, 63%, 82%)
CMYKcmyk(46.7%, 62.9%, 0%, 17.6%)
CIE-LABlab(43.57, 45.66, -63.47)
CIE-LCHlch(43.57, 78.19, 305.73°)
OKLaboklab(53.31% 0.0665 -0.1816)
OKLCHoklch(53.31% 0.193 290.1)
XYZxyz(21.0360, 13.5459, 62.4665)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ED2 #B0D24E
analogous
#4E6ED2 #704ED2 #B24ED2
triadic
#704ED2 #D2704E #4ED270
tetradic
#704ED2 #D24E6E #B0D24E #4ED2B2
square
#704ED2 #D24E6E #B0D24E #4ED2B2
split-complementary
#704ED2 #D2B24E #6ED24E
monochromatic
#3B2284 #512EB5 #704ED2 #977FDE #BFB0EB

Accessibility & contrast

On white

5.66
#704ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#704ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ED2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ED2#FFFFFF#000000##FFFFFF
##704ED21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#516D89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704ed2;
/* rgb */ color: rgb(112, 78, 210);
/* oklch */ color: oklch(53.3% 0.193 290.1);
Tailwind
colors: {
  custom: {
    50: '#a081e1',
    500: '#704ed2',
    950: '#000000',
  },
}
SCSS
$custom: #704ed2;
$custom-light: #a081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#704ed2",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 255.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.19337,
    "h": 290.1
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#704ED2
secondary
#CBD9A3
accent
#E345BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #704ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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