#704FC4#704FC4

#704FC4 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.175 H 292.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#704FC4
RGBrgb(112, 79, 196)
HSLhsl(257, 50%, 54%)
HSVhsv(257, 60%, 77%)
CMYKcmyk(42.9%, 59.7%, 0%, 23.1%)
CIE-LABlab(42.80, 41.16, -56.65)
CIE-LCHlch(42.80, 70.02, 306.00°)
OKLaboklab(52.43% 0.0663 -0.1615)
OKLCHoklch(52.43% 0.175 292.3)
XYZxyz(19.4392, 13.0217, 53.7031)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC4 #A3C44F
analogous
#4F69C4 #704FC4 #AB4FC4
triadic
#704FC4 #C4704F #4FC470
tetradic
#704FC4 #C44F69 #A3C44F #4FC4AB
square
#704FC4 #C44F69 #A3C44F #4FC4AB
split-complementary
#704FC4 #C4AB4F #69C44F
monochromatic
#3C2672 #5436A0 #704FC4 #957DD3 #BAABE3

Accessibility & contrast

On white

5.83
#704FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#704FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FC4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC4#FFFFFF#000000##FFFFFF
##704FC41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#0363C1
Tritanopia (blue-blind)
#596982
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704fc4;
/* rgb */ color: rgb(112, 79, 196);
/* oklch */ color: oklch(52.4% 0.175 292.3);
Tailwind
colors: {
  custom: {
    50: '#9f82d7',
    500: '#704fc4',
    950: '#000000',
  },
}
SCSS
$custom: #704fc4;
$custom-light: #9f82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc4",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 256.923,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.17457,
    "h": 292.3
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#704FC4
secondary
#C2D09E
accent
#D94EB2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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