#704DC5#704DC5

#704DC5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.179 H 292.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#704DC5
RGBrgb(112, 77, 197)
HSLhsl(258, 51%, 54%)
HSVhsv(258, 61%, 77%)
CMYKcmyk(43.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(42.43, 42.57, -57.81)
CIE-LCHlch(42.43, 71.80, 306.37°)
OKLaboklab(52.18% 0.0685 -0.1649)
OKLCHoklch(52.18% 0.179 292.6)
XYZxyz(19.4113, 12.7831, 54.2571)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC5 #A2C54D
analogous
#4D66C5 #704DC5 #AC4DC5
triadic
#704DC5 #C5704D #4DC570
tetradic
#704DC5 #C54D66 #A2C54D #4DC5AC
square
#704DC5 #C54D66 #A2C54D #4DC5AC
split-complementary
#704DC5 #C5AC4D #66C54D
monochromatic
#3C2572 #5434A0 #704DC5 #957BD4 #BAA9E3

Accessibility & contrast

On white

5.90
#704DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#704DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC5#FFFFFF#000000##FFFFFF
##704DC51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#586882
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704dc5;
/* rgb */ color: rgb(112, 77, 197);
/* oklch */ color: oklch(52.2% 0.179 292.6);
Tailwind
colors: {
  custom: {
    50: '#9f80d7',
    500: '#704dc5',
    950: '#000000',
  },
}
SCSS
$custom: #704dc5;
$custom-light: #9f80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc5",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 257.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.17859,
    "h": 292.6
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#704DC5
secondary
#C2D19D
accent
#DA4DB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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