#704DCA#704DCA

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

Color values

HEX#704DCA
RGBrgb(112, 77, 202)
HSLhsl(257, 54%, 55%)
HSVhsv(257, 62%, 79%)
CMYKcmyk(44.6%, 61.9%, 0%, 20.8%)
CIE-LABlab(42.79, 43.97, -60.14)
CIE-LCHlch(42.79, 74.50, 306.17°)
OKLaboklab(52.55% 0.0682 -0.1718)
OKLCHoklch(52.55% 0.185 291.7)
XYZxyz(19.9937, 13.0161, 57.3246)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DCA #A7CA4D
analogous
#4D69CA #704DCA #AF4DCA
triadic
#704DCA #CA704D #4DCA70
tetradic
#704DCA #CA4D69 #A7CA4D #4DCAAF
square
#704DCA #CA4D69 #A7CA4D #4DCAAF
split-complementary
#704DCA #CAAF4D #69CA4D
monochromatic
#3C2479 #5332A8 #704DCA #967CD8 #BCABE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704DCA#FFFFFF#000000##FFFFFF
##704DCA1.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)
#0067CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#566A84
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704dca;
/* rgb */ color: rgb(112, 77, 202);
/* oklch */ color: oklch(52.6% 0.185 291.7);
Tailwind
colors: {
  custom: {
    50: '#9f80db',
    500: '#704dca',
    950: '#000000',
  },
}
SCSS
$custom: #704dca;
$custom-light: #9f80db;
$custom-dark: #000000;
JSON
{
  "hex": "#704dca",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 256.8,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.18481,
    "h": 291.7
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#704DCA
secondary
#C5D49F
accent
#DD4AB4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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