#704CC5#704CC5

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

Color values

HEX#704CC5
RGBrgb(112, 76, 197)
HSLhsl(258, 51%, 54%)
HSVhsv(258, 61%, 77%)
CMYKcmyk(43.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(42.22, 43.14, -58.15)
CIE-LCHlch(42.22, 72.41, 306.57°)
OKLaboklab(52.03% 0.0696 -0.1659)
OKLCHoklch(52.03% 0.18 292.8)
XYZxyz(19.3418, 12.6443, 54.2340)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CC5 #A1C54C
analogous
#4C64C5 #704CC5 #AC4CC5
triadic
#704CC5 #C5704C #4CC570
tetradic
#704CC5 #C54C64 #A1C54C #4CC5AC
square
#704CC5 #C54C64 #A1C54C #4CC5AC
split-complementary
#704CC5 #C5AC4C #64C54C
monochromatic
#3C2572 #5434A0 #704CC5 #957AD4 #BAA8E3

Accessibility & contrast

On white

5.95
#704CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#704CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CC5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CC5#FFFFFF#000000##FFFFFF
##704CC51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#586781
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704cc5;
/* rgb */ color: rgb(112, 76, 197);
/* oklch */ color: oklch(52.0% 0.180 292.8);
Tailwind
colors: {
  custom: {
    50: '#9f80d7',
    500: '#704cc5',
    950: '#000000',
  },
}
SCSS
$custom: #704cc5;
$custom-light: #9f80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704cc5",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 257.851,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.17996,
    "h": 292.8
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#704CC5
secondary
#C1D09C
accent
#DB4DB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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