#704CAA#704CAA

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

Color values

HEX#704CAA
RGBrgb(112, 76, 170)
HSLhsl(263, 38%, 48%)
HSVhsv(263, 55%, 67%)
CMYKcmyk(34.1%, 55.3%, 0%, 33.3%)
CIE-LABlab(40.44, 35.78, -45.19)
CIE-LCHlch(40.44, 57.64, 308.37°)
OKLaboklab(50.15% 0.07 -0.1278)
OKLCHoklch(50.15% 0.146 298.7)
XYZxyz(16.5205, 11.5157, 39.3748)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CAA #86AA4C
analogous
#4C57AA #704CAA #9F4CAA
triadic
#704CAA #AA704C #4CAA70
tetradic
#704CAA #AA4C57 #86AA4C #4CAA9F
square
#704CAA #AA4C57 #86AA4C #4CAA9F
split-complementary
#704CAA #AA9F4C #57AA4C
monochromatic
#382655 #543980 #704CAA #9173C0 #B29DD3

Accessibility & contrast

On white

6.36
#704CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CAA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CAA#FFFFFF#000000##FFFFFF
##704CAA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#635F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704caa;
/* rgb */ color: rgb(112, 76, 170);
/* oklch */ color: oklch(50.1% 0.146 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c7fc4',
    500: '#704caa',
    950: '#000000',
  },
}
SCSS
$custom: #704caa;
$custom-light: #9c7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#704caa",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 262.979,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.14574,
    "h": 298.7
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#704CAA
secondary
#AEC092
accent
#CE5AA2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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