#703A8D#703A8D

#703A8D is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.139 H 312.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#703A8D
RGBrgb(112, 58, 141)
HSLhsl(279, 42%, 39%)
HSVhsv(279, 59%, 55%)
CMYKcmyk(20.6%, 58.9%, 0%, 44.7%)
CIE-LABlab(34.79, 38.70, -36.71)
CIE-LCHlch(34.79, 53.35, 316.51°)
OKLaboklab(45.43% 0.0933 -0.103)
OKLCHoklch(45.43% 0.139 312.2)
XYZxyz(13.0020, 8.3943, 26.1295)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703A8D #578D3A
analogous
#473A8D #703A8D #8D3A81
triadic
#703A8D #8D703A #3A8D70
tetradic
#703A8D #8D473A #578D3A #3A818D
square
#703A8D #8D473A #578D3A #3A818D
split-complementary
#703A8D #818D3A #3A8D47
monochromatic
#2B1636 #4E2862 #703A8D #924EB6 #AD79C8

Accessibility & contrast

On white

7.84
#703A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#703A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703A8D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703A8D#FFFFFF#000000##FFFFFF
##703A8D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#6D495E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #703a8d;
/* rgb */ color: rgb(112, 58, 141);
/* oklch */ color: oklch(45.4% 0.139 312.2);
Tailwind
colors: {
  custom: {
    50: '#9b73af',
    500: '#703a8d',
    950: '#000000',
  },
}
SCSS
$custom: #703a8d;
$custom-light: #9b73af;
$custom-dark: #000000;
JSON
{
  "hex": "#703a8d",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 279.036,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.13895,
    "h": 312.2
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#703A8D
secondary
#88B171
accent
#D25681
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #703A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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