#704CA2#704CA2

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

Color values

HEX#704CA2
RGBrgb(112, 76, 162)
HSLhsl(265, 36%, 47%)
HSVhsv(265, 53%, 64%)
CMYKcmyk(30.9%, 53.1%, 0%, 36.5%)
CIE-LABlab(39.95, 33.67, -41.20)
CIE-LCHlch(39.95, 53.21, 309.26°)
OKLaboklab(49.64% 0.0696 -0.1161)
OKLCHoklch(49.64% 0.135 300.9)
XYZxyz(15.7866, 11.2222, 35.5098)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA2 #7EA24C
analogous
#4C53A2 #704CA2 #9B4CA2
triadic
#704CA2 #A2704C #4CA270
tetradic
#704CA2 #A24C53 #7EA24C #4CA29B
square
#704CA2 #A24C53 #7EA24C #4CA29B
split-complementary
#704CA2 #A29B4C #53A24C
monochromatic
#36254F #533878 #704CA2 #8F70BC #B099CF

Accessibility & contrast

On white

6.47
#704CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704CA2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA2#FFFFFF#000000##FFFFFF
##704CA21.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#665C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ca2;
/* rgb */ color: rgb(112, 76, 162);
/* oklch */ color: oklch(49.6% 0.135 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c7fbe',
    500: '#704ca2',
    950: '#000000',
  },
}
SCSS
$custom: #704ca2;
$custom-light: #9c7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca2",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 265.116,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.13538,
    "h": 300.9
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#704CA2
secondary
#A9BC8E
accent
#CC5C9D
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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