#703FAC#703FAC

#703FAC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.168 H 301.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#703FAC
RGBrgb(112, 63, 172)
HSLhsl(267, 46%, 46%)
HSVhsv(267, 63%, 67%)
CMYKcmyk(34.9%, 63.4%, 0%, 32.5%)
CIE-LABlab(37.80, 43.61, -50.61)
CIE-LCHlch(37.80, 66.81, 310.76°)
OKLaboklab(48.26% 0.0863 -0.1437)
OKLCHoklch(48.26% 0.168 301)
XYZxyz(15.9042, 9.9782, 40.1098)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FAC #7BAC3F
analogous
#3F45AC #703FAC #A63FAC
triadic
#703FAC #AC703F #3FAC70
tetradic
#703FAC #AC3F45 #7BAC3F #3FACA6
square
#703FAC #AC3F45 #7BAC3F #3FACA6
split-complementary
#703FAC #ACA63F #45AC3F
monochromatic
#361E52 #532F7F #703FAC #8F63C6 #AF8FD6

Accessibility & contrast

On white

7.01
#703FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#703FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703FAC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FAC#FFFFFF#000000##FFFFFF
##703FAC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#1658AA
Tritanopia (blue-blind)
#635770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703fac;
/* rgb */ color: rgb(112, 63, 172);
/* oklch */ color: oklch(48.3% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d77c5',
    500: '#703fac',
    950: '#000000',
  },
}
SCSS
$custom: #703fac;
$custom-light: #9d77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#703fac",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 266.972,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.16765,
    "h": 301
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#703FAC
secondary
#A6C186
accent
#D6529B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #703FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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