#704CA8#704CA8

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

Color values

HEX#704CA8
RGBrgb(112, 76, 168)
HSLhsl(263, 38%, 48%)
HSVhsv(263, 55%, 66%)
CMYKcmyk(33.3%, 54.8%, 0%, 34.1%)
CIE-LABlab(40.31, 35.25, -44.20)
CIE-LCHlch(40.31, 56.53, 308.58°)
OKLaboklab(50.02% 0.0699 -0.1249)
OKLCHoklch(50.02% 0.143 299.2)
XYZxyz(16.3327, 11.4406, 38.3860)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA8 #84A84C
analogous
#4C56A8 #704CA8 #9E4CA8
triadic
#704CA8 #A8704C #4CA870
tetradic
#704CA8 #A84C56 #84A84C #4CA89E
square
#704CA8 #A84C56 #84A84C #4CA89E
split-complementary
#704CA8 #A89E4C #56A84C
monochromatic
#382654 #54397E #704CA8 #9072BF #B19CD2

Accessibility & contrast

On white

6.39
#704CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#704CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA8#FFFFFF#000000##FFFFFF
##704CA81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#645E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ca8;
/* rgb */ color: rgb(112, 76, 168);
/* oklch */ color: oklch(50.0% 0.143 299.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fc2',
    500: '#704ca8',
    950: '#000000',
  },
}
SCSS
$custom: #704ca8;
$custom-light: #9c7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca8",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 263.478,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.14316,
    "h": 299.2
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#704CA8
secondary
#ADBF91
accent
#CE5AA0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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