#704ACD#704ACD

#704ACD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.192 H 291.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#704ACD
RGBrgb(112, 74, 205)
HSLhsl(257, 57%, 55%)
HSVhsv(257, 64%, 80%)
CMYKcmyk(45.4%, 63.9%, 0%, 19.6%)
CIE-LABlab(42.38, 46.47, -62.53)
CIE-LCHlch(42.38, 77.90, 306.62°)
OKLaboklab(52.33% 0.0712 -0.1788)
OKLCHoklch(52.33% 0.192 291.7)
XYZxyz(20.1473, 12.7494, 59.1451)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ACD #A7CD4A
analogous
#4A65CD #704ACD #B24ACD
triadic
#704ACD #CD704A #4ACD70
tetradic
#704ACD #CD4A65 #A7CD4A #4ACDB2
square
#704ACD #CD4A65 #A7CD4A #4ACDB2
split-complementary
#704ACD #CDB24A #65CD4A
monochromatic
#3C227B #532FAB #704ACD #967ADA #BCAAE7

Accessibility & contrast

On white

5.92
#704ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#704ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ACD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ACD#FFFFFF#000000##FFFFFF
##704ACD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#546985
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704acd;
/* rgb */ color: rgb(112, 74, 205);
/* oklch */ color: oklch(52.3% 0.192 291.7);
Tailwind
colors: {
  custom: {
    50: '#a07fdd',
    500: '#704acd',
    950: '#000000',
  },
}
SCSS
$custom: #704acd;
$custom-light: #a07fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#704acd",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 257.405,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.19243,
    "h": 291.7
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#704ACD
secondary
#C5D59E
accent
#E048B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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