#704CC4#704CC4

#704CC4 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.179 H 293.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#704CC4
RGBrgb(112, 76, 196)
HSLhsl(258, 50%, 53%)
HSVhsv(258, 61%, 77%)
CMYKcmyk(42.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(42.15, 42.86, -57.69)
CIE-LCHlch(42.15, 71.87, 306.61°)
OKLaboklab(51.96% 0.0697 -0.1646)
OKLCHoklch(51.96% 0.179 293)
XYZxyz(19.2276, 12.5986, 53.6326)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC4 #A0C44C
analogous
#4C64C4 #704CC4 #AC4CC4
triadic
#704CC4 #C4704C #4CC470
tetradic
#704CC4 #C44C64 #A0C44C #4CC4AC
square
#704CC4 #C44C64 #A0C44C #4CC4AC
split-complementary
#704CC4 #C4AC4C #64C44C
monochromatic
#3C2571 #54349F #704CC4 #957AD3 #BAA8E2

Accessibility & contrast

On white

5.97
#704CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#704CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC4#FFFFFF#000000##FFFFFF
##704CC41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#596781
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704cc4;
/* rgb */ color: rgb(112, 76, 196);
/* oklch */ color: oklch(52.0% 0.179 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f80d7',
    500: '#704cc4',
    950: '#000000',
  },
}
SCSS
$custom: #704cc4;
$custom-light: #9f80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc4",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 258,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.17872,
    "h": 293
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#704CC4
secondary
#C0D09C
accent
#DA4EB0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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