#703CAC#703CAC

#703CAC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.172 H 301.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#703CAC
RGBrgb(112, 60, 172)
HSLhsl(268, 48%, 45%)
HSVhsv(268, 65%, 67%)
CMYKcmyk(34.9%, 65.1%, 0%, 32.5%)
CIE-LABlab(37.22, 45.21, -51.55)
CIE-LCHlch(37.22, 68.57, 311.25°)
OKLaboklab(47.84% 0.0898 -0.1465)
OKLCHoklch(47.84% 0.172 301.5)
XYZxyz(15.7426, 9.6550, 40.0559)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703CAC #78AC3C
analogous
#3C40AC #703CAC #A83CAC
triadic
#703CAC #AC703C #3CAC70
tetradic
#703CAC #AC3C40 #78AC3C #3CACA8
square
#703CAC #AC3C40 #78AC3C #3CACA8
split-complementary
#703CAC #ACA83C #40AC3C
monochromatic
#351C51 #522C7F #703CAC #8F5EC7 #AF8CD7

Accessibility & contrast

On white

7.16
#703CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#703CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703CAC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703CAC#FFFFFF#000000##FFFFFF
##703CAC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0E57AA
Tritanopia (blue-blind)
#64556E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #703cac;
/* rgb */ color: rgb(112, 60, 172);
/* oklch */ color: oklch(47.8% 0.172 301.5);
Tailwind
colors: {
  custom: {
    50: '#9e75c5',
    500: '#703cac',
    950: '#000000',
  },
}
SCSS
$custom: #703cac;
$custom-light: #9e75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#703cac",
  "rgb": {
    "r": 112,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 267.857,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.17186,
    "h": 301.5
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#703CAC
secondary
#A4C182
accent
#D85099
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703CAC

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

Preview Lab → · Contrast checker → · Palette generator →

#703CAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva