#704DC9#704DC9

#704DC9 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.184 H 291.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#704DC9
RGBrgb(112, 77, 201)
HSLhsl(257, 53%, 55%)
HSVhsv(257, 62%, 79%)
CMYKcmyk(44.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(42.72, 43.69, -59.67)
CIE-LCHlch(42.72, 73.96, 306.21°)
OKLaboklab(52.48% 0.0683 -0.1704)
OKLCHoklch(52.48% 0.184 291.8)
XYZxyz(19.8757, 12.9689, 56.7030)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DC9 #A6C94D
analogous
#4D68C9 #704DC9 #AE4DC9
triadic
#704DC9 #C9704D #4DC970
tetradic
#704DC9 #C94D68 #A6C94D #4DC9AE
square
#704DC9 #C94D68 #A6C94D #4DC9AE
split-complementary
#704DC9 #C9AE4D #68C94D
monochromatic
#3C2477 #5332A6 #704DC9 #967CD7 #BBABE5

Accessibility & contrast

On white

5.84
#704DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#704DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DC9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DC9#FFFFFF#000000##FFFFFF
##704DC91.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#566984
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704dc9;
/* rgb */ color: rgb(112, 77, 201);
/* oklch */ color: oklch(52.5% 0.184 291.8);
Tailwind
colors: {
  custom: {
    50: '#9f80da',
    500: '#704dc9',
    950: '#000000',
  },
}
SCSS
$custom: #704dc9;
$custom-light: #9f80da;
$custom-dark: #000000;
JSON
{
  "hex": "#704dc9",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 256.935,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.18358,
    "h": 291.8
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#704DC9
secondary
#C4D39F
accent
#DD4BB4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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