#704CA1#704CA1

#704CA1 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.134 H 301.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#704CA1
RGBrgb(112, 76, 161)
HSLhsl(265, 36%, 46%)
HSVhsv(265, 53%, 63%)
CMYKcmyk(30.4%, 52.8%, 0%, 36.9%)
CIE-LABlab(39.89, 33.41, -40.69)
CIE-LCHlch(39.89, 52.65, 309.39°)
OKLaboklab(49.57% 0.0695 -0.1147)
OKLCHoklch(49.57% 0.134 301.2)
XYZxyz(15.6981, 11.1868, 35.0435)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA1 #7DA14C
analogous
#4C53A1 #704CA1 #9B4CA1
triadic
#704CA1 #A1704C #4CA170
tetradic
#704CA1 #A14C53 #7DA14C #4CA19B
square
#704CA1 #A14C53 #7DA14C #4CA19B
split-complementary
#704CA1 #A19B4C #53A14C
monochromatic
#36254E #533877 #704CA1 #8F6FBB #B099CF

Accessibility & contrast

On white

6.49
#704CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#704CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA1#FFFFFF#000000##FFFFFF
##704CA11.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA4
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#665C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ca1;
/* rgb */ color: rgb(112, 76, 161);
/* oklch */ color: oklch(49.6% 0.134 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fbd',
    500: '#704ca1',
    950: '#000000',
  },
}
SCSS
$custom: #704ca1;
$custom-light: #9c7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca1",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 265.412,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.13408,
    "h": 301.2
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#704CA1
secondary
#A8BB8E
accent
#CC5C9C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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