#704EA1#704EA1

#704EA1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.131 H 300.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#704EA1
RGBrgb(112, 78, 161)
HSLhsl(265, 35%, 47%)
HSVhsv(265, 52%, 63%)
CMYKcmyk(30.4%, 51.6%, 0%, 36.9%)
CIE-LABlab(40.36, 32.23, -39.96)
CIE-LCHlch(40.36, 51.34, 308.89°)
OKLaboklab(49.92% 0.0667 -0.1125)
OKLCHoklch(49.92% 0.131 300.7)
XYZxyz(15.8380, 11.4667, 35.0902)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA1 #7FA14E
analogous
#4E56A1 #704EA1 #9A4EA1
triadic
#704EA1 #A1704E #4EA170
tetradic
#704EA1 #A14E56 #7FA14E #4EA19A
square
#704EA1 #A14E56 #7FA14E #4EA19A
split-complementary
#704EA1 #A19A4E #56A14E
monochromatic
#37264F #533A78 #704EA1 #9072BB #B09BCF

Accessibility & contrast

On white

6.38
#704EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704EA1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA1#FFFFFF#000000##FFFFFF
##704EA11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA4
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#665E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ea1;
/* rgb */ color: rgb(112, 78, 161);
/* oklch */ color: oklch(49.9% 0.131 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c80bd',
    500: '#704ea1',
    950: '#000000',
  },
}
SCSS
$custom: #704ea1;
$custom-light: #9c80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea1",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 264.578,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.13081,
    "h": 300.7
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#704EA1
secondary
#A9BB90
accent
#CB5D9E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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