#703A9D#703A9D

#703A9D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.157 H 306.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#703A9D
RGBrgb(112, 58, 157)
HSLhsl(273, 46%, 42%)
HSVhsv(273, 63%, 62%)
CMYKcmyk(28.7%, 63.1%, 0%, 38.4%)
CIE-LABlab(35.80, 42.52, -44.84)
CIE-LCHlch(35.80, 61.80, 313.48°)
OKLaboklab(46.49% 0.0933 -0.1268)
OKLCHoklch(46.49% 0.157 306.3)
XYZxyz(14.2797, 8.9053, 32.8584)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703A9D #679D3A
analogous
#3E3A9D #703A9D #9D3A99
triadic
#703A9D #9D703A #3A9D70
tetradic
#703A9D #9D3E3A #679D3A #3A999D
square
#703A9D #9D3E3A #679D3A #3A999D
split-complementary
#703A9D #999D3A #3A9D3E
monochromatic
#301944 #502970 #703A9D #8F54C0 #AC81D0

Accessibility & contrast

On white

7.55
#703A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#703A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703A9D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703A9D#FFFFFF#000000##FFFFFF
##703A9D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#694E66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #703a9d;
/* rgb */ color: rgb(112, 58, 157);
/* oklch */ color: oklch(46.5% 0.157 306.3);
Tailwind
colors: {
  custom: {
    50: '#9c73ba',
    500: '#703a9d',
    950: '#000000',
  },
}
SCSS
$custom: #703a9d;
$custom-light: #9c73ba;
$custom-dark: #000000;
JSON
{
  "hex": "#703a9d",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 272.727,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.15736,
    "h": 306.3
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#703A9D
secondary
#96BA79
accent
#D6528E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #703A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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