#704DC4#704DC4

#704DC4 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.177 H 292.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#704DC4
RGBrgb(112, 77, 196)
HSLhsl(258, 50%, 54%)
HSVhsv(258, 61%, 77%)
CMYKcmyk(42.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(42.37, 42.30, -57.34)
CIE-LCHlch(42.37, 71.25, 306.41°)
OKLaboklab(52.11% 0.0686 -0.1635)
OKLCHoklch(52.11% 0.177 292.7)
XYZxyz(19.2971, 12.7375, 53.6557)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC4 #A1C44D
analogous
#4D65C4 #704DC4 #AB4DC4
triadic
#704DC4 #C4704D #4DC470
tetradic
#704DC4 #C44D65 #A1C44D #4DC4AB
square
#704DC4 #C44D65 #A1C44D #4DC4AB
split-complementary
#704DC4 #C4AB4D #65C44D
monochromatic
#3C2571 #54359F #704DC4 #957BD3 #BAA9E2

Accessibility & contrast

On white

5.92
#704DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#704DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC4#FFFFFF#000000##FFFFFF
##704DC41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#596881
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704dc4;
/* rgb */ color: rgb(112, 77, 196);
/* oklch */ color: oklch(52.1% 0.177 292.7);
Tailwind
colors: {
  custom: {
    50: '#9f80d7',
    500: '#704dc4',
    950: '#000000',
  },
}
SCSS
$custom: #704dc4;
$custom-light: #9f80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc4",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 257.647,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.17734,
    "h": 292.7
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#704DC4
secondary
#C1D09D
accent
#DA4EB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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