#704CA3#704CA3

#704CA3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.137 H 300.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#704CA3
RGBrgb(112, 76, 163)
HSLhsl(265, 36%, 47%)
HSVhsv(265, 53%, 64%)
CMYKcmyk(31.3%, 53.4%, 0%, 36.1%)
CIE-LABlab(40.01, 33.93, -41.70)
CIE-LCHlch(40.01, 53.76, 309.14°)
OKLaboklab(49.7% 0.0696 -0.1176)
OKLCHoklch(49.7% 0.137 300.6)
XYZxyz(15.8758, 11.2579, 35.9798)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704CA3 #7FA34C
analogous
#4C53A3 #704CA3 #9C4CA3
triadic
#704CA3 #A3704C #4CA370
tetradic
#704CA3 #A34C53 #7FA34C #4CA39C
square
#704CA3 #A34C53 #7FA34C #4CA39C
split-complementary
#704CA3 #A39C4C #53A34C
monochromatic
#372550 #533979 #704CA3 #9070BC #B09AD0

Accessibility & contrast

On white

6.46
#704CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#704CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704CA3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704CA3#FFFFFF#000000##FFFFFF
##704CA31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#665D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ca3;
/* rgb */ color: rgb(112, 76, 163);
/* oklch */ color: oklch(49.7% 0.137 300.6);
Tailwind
colors: {
  custom: {
    50: '#9c7fbf',
    500: '#704ca3',
    950: '#000000',
  },
}
SCSS
$custom: #704ca3;
$custom-light: #9c7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#704ca3",
  "rgb": {
    "r": 112,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 264.828,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.13668,
    "h": 300.6
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#704CA3
secondary
#A9BC8F
accent
#CC5B9E
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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