#704CD9#704CD9

#704CD9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.204 H 289.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#704CD9
RGBrgb(112, 76, 217)
HSLhsl(255, 65%, 57%)
HSVhsv(255, 65%, 85%)
CMYKcmyk(48.4%, 65%, 0%, 14.9%)
CIE-LABlab(43.69, 48.73, -67.30)
CIE-LCHlch(43.69, 83.09, 305.91°)
OKLaboklab(53.55% 0.0678 -0.1928)
OKLCHoklch(53.55% 0.204 289.4)
XYZxyz(21.7873, 13.6225, 67.1136)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CD9 #B5D94C
analogous
#4C6FD9 #704CD9 #B64CD9
triadic
#704CD9 #D9704C #4CD970
tetradic
#704CD9 #D94C6F #B5D94C #4CD9B6
square
#704CD9 #D94C6F #B5D94C #4CD9B6
split-complementary
#704CD9 #D9B64C #6FD94C
monochromatic
#3A1E8D #4F29BF #704CD9 #987EE4 #C1B1EE

Accessibility & contrast

On white

5.64
#704CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#704CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CD9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CD9#FFFFFF#000000##FFFFFF
##704CD91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#4D6E8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704cd9;
/* rgb */ color: rgb(112, 76, 217);
/* oklch */ color: oklch(53.6% 0.204 289.4);
Tailwind
colors: {
  custom: {
    50: '#a180e6',
    500: '#704cd9',
    950: '#000000',
  },
}
SCSS
$custom: #704cd9;
$custom-light: #a180e6;
$custom-dark: #000000;
JSON
{
  "hex": "#704cd9",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 255.319,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.20442,
    "h": 289.4
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#704CD9
secondary
#CEDDA4
accent
#E840BD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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