#704CA7#704CA7

#704CA7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.142 H 299.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#704CA7
RGBrgb(112, 76, 167)
HSLhsl(264, 37%, 48%)
HSVhsv(264, 54%, 65%)
CMYKcmyk(32.9%, 54.5%, 0%, 34.5%)
CIE-LABlab(40.25, 34.98, -43.70)
CIE-LCHlch(40.25, 55.98, 308.68°)
OKLaboklab(49.95% 0.0699 -0.1235)
OKLCHoklch(49.95% 0.142 299.5)
XYZxyz(16.2399, 11.4035, 37.8972)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA7 #83A74C
analogous
#4C55A7 #704CA7 #9D4CA7
triadic
#704CA7 #A7704C #4CA770
tetradic
#704CA7 #A74C55 #83A74C #4CA79D
square
#704CA7 #A74C55 #83A74C #4CA79D
split-complementary
#704CA7 #A79D4C #55A74C
monochromatic
#382653 #54397D #704CA7 #9072BF #B19CD2

Accessibility & contrast

On white

6.40
#704CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#704CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA7#FFFFFF#000000##FFFFFF
##704CA71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAA
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#655E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ca7;
/* rgb */ color: rgb(112, 76, 167);
/* oklch */ color: oklch(50.0% 0.142 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c7fc2',
    500: '#704ca7',
    950: '#000000',
  },
}
SCSS
$custom: #704ca7;
$custom-light: #9c7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca7",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 263.736,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.14186,
    "h": 299.5
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#704CA7
secondary
#ACBE90
accent
#CD5AA0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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