#704FC5#704FC5

#704FC5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.176 H 292.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#704FC5
RGBrgb(112, 79, 197)
HSLhsl(257, 50%, 54%)
HSVhsv(257, 60%, 77%)
CMYKcmyk(43.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(42.86, 41.44, -57.12)
CIE-LCHlch(42.86, 70.57, 305.96°)
OKLaboklab(52.5% 0.0662 -0.1629)
OKLCHoklch(52.5% 0.176 292.1)
XYZxyz(19.5534, 13.0673, 54.3045)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FC5 #A4C54F
analogous
#4F69C5 #704FC5 #AB4FC5
triadic
#704FC5 #C5704F #4FC570
tetradic
#704FC5 #C54F69 #A4C54F #4FC5AB
square
#704FC5 #C54F69 #A4C54F #4FC5AB
split-complementary
#704FC5 #C5AB4F #69C54F
monochromatic
#3C2674 #5435A2 #704FC5 #957DD4 #BBABE3

Accessibility & contrast

On white

5.81
#704FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#704FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FC5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FC5#FFFFFF#000000##FFFFFF
##704FC51.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#586982
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704fc5;
/* rgb */ color: rgb(112, 79, 197);
/* oklch */ color: oklch(52.5% 0.176 292.1);
Tailwind
colors: {
  custom: {
    50: '#9f82d7',
    500: '#704fc5',
    950: '#000000',
  },
}
SCSS
$custom: #704fc5;
$custom-light: #9f82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704fc5",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 256.78,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.17583,
    "h": 292.1
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#704FC5
secondary
#C3D19F
accent
#DA4EB3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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