#704CA9#704CA9

#704CA9 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.144 H 299.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#704CA9
RGBrgb(112, 76, 169)
HSLhsl(263, 38%, 48%)
HSVhsv(263, 55%, 66%)
CMYKcmyk(33.7%, 55%, 0%, 33.7%)
CIE-LABlab(40.37, 35.52, -44.69)
CIE-LCHlch(40.37, 57.08, 308.47°)
OKLaboklab(50.08% 0.07 -0.1264)
OKLCHoklch(50.08% 0.144 299)
XYZxyz(16.4262, 11.4780, 38.8785)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA9 #85A94C
analogous
#4C56A9 #704CA9 #9E4CA9
triadic
#704CA9 #A9704C #4CA970
tetradic
#704CA9 #A94C56 #85A94C #4CA99E
square
#704CA9 #A94C56 #85A94C #4CA99E
split-complementary
#704CA9 #A99E4C #56A94C
monochromatic
#382655 #54397F #704CA9 #9072C0 #B29DD3

Accessibility & contrast

On white

6.37
#704CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#704CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA9#FFFFFF#000000##FFFFFF
##704CA91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#645E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ca9;
/* rgb */ color: rgb(112, 76, 169);
/* oklch */ color: oklch(50.1% 0.144 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c7fc3',
    500: '#704ca9',
    950: '#000000',
  },
}
SCSS
$custom: #704ca9;
$custom-light: #9c7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca9",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 263.226,
    "s": 37.959,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.14445,
    "h": 299
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#704CA9
secondary
#AEBF91
accent
#CE5AA1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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