#704DCC#704DCC

#704DCC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.187 H 291.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#704DCC
RGBrgb(112, 77, 204)
HSLhsl(257, 55%, 55%)
HSVhsv(257, 62%, 80%)
CMYKcmyk(45.1%, 62.3%, 0%, 20%)
CIE-LABlab(42.93, 44.53, -61.06)
CIE-LCHlch(42.93, 75.57, 306.10°)
OKLaboklab(52.7% 0.0681 -0.1745)
OKLCHoklch(52.7% 0.187 291.3)
XYZxyz(20.2320, 13.1114, 58.5798)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DCC #A9CC4D
analogous
#4D6ACC #704DCC #AF4DCC
triadic
#704DCC #CC704D #4DCC70
tetradic
#704DCC #CC4D6A #A9CC4D #4DCCAF
square
#704DCC #CC4D6A #A9CC4D #4DCCAF
split-complementary
#704DCC #CCAF4D #6ACC4D
monochromatic
#3C237B #5331AB #704DCC #967DDA #BCACE7

Accessibility & contrast

On white

5.80
#704DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#704DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DCC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DCC#FFFFFF#000000##FFFFFF
##704DCC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#556A85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704dcc;
/* rgb */ color: rgb(112, 77, 204);
/* oklch */ color: oklch(52.7% 0.187 291.3);
Tailwind
colors: {
  custom: {
    50: '#a080dc',
    500: '#704dcc',
    950: '#000000',
  },
}
SCSS
$custom: #704dcc;
$custom-light: #a080dc;
$custom-dark: #000000;
JSON
{
  "hex": "#704dcc",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 256.535,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.18728,
    "h": 291.3
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#704DCC
secondary
#C6D5A0
accent
#DF49B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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