#704DCD#704DCD

#704DCD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.189 H 291.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#704DCD
RGBrgb(112, 77, 205)
HSLhsl(256, 56%, 55%)
HSVhsv(256, 62%, 80%)
CMYKcmyk(45.4%, 62.4%, 0%, 19.6%)
CIE-LABlab(43.00, 44.81, -61.52)
CIE-LCHlch(43.00, 76.11, 306.07°)
OKLaboklab(52.78% 0.068 -0.1758)
OKLCHoklch(52.78% 0.189 291.1)
XYZxyz(20.3523, 13.1596, 59.2135)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DCD #AACD4D
analogous
#4D6ACD #704DCD #B04DCD
triadic
#704DCD #CD704D #4DCD70
tetradic
#704DCD #CD4D6A #AACD4D #4DCDB0
square
#704DCD #CD4D6A #AACD4D #4DCDB0
split-complementary
#704DCD #CDB04D #6ACD4D
monochromatic
#3B237D #5230AC #704DCD #967DDA #BDADE8

Accessibility & contrast

On white

5.78
#704DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#704DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DCD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DCD#FFFFFF#000000##FFFFFF
##704DCD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#546B86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704dcd;
/* rgb */ color: rgb(112, 77, 205);
/* oklch */ color: oklch(52.8% 0.189 291.1);
Tailwind
colors: {
  custom: {
    50: '#a080dd',
    500: '#704dcd',
    950: '#000000',
  },
}
SCSS
$custom: #704dcd;
$custom-light: #a080dd;
$custom-dark: #000000;
JSON
{
  "hex": "#704dcd",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 256.406,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.18852,
    "h": 291.1
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#704DCD
secondary
#C7D6A0
accent
#DF48B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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