#703AB3#703AB3

#703AB3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.183 H 300.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#703AB3
RGBrgb(112, 58, 179)
HSLhsl(267, 51%, 46%)
HSVhsv(267, 68%, 70%)
CMYKcmyk(37.4%, 67.6%, 0%, 29.8%)
CIE-LABlab(37.34, 48.03, -55.50)
CIE-LCHlch(37.34, 73.40, 310.87°)
OKLaboklab(48.09% 0.0913 -0.1581)
OKLCHoklch(48.09% 0.183 300)
XYZxyz(16.3298, 9.7254, 43.6559)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB3 #7DB33A
analogous
#3A41B3 #703AB3 #AD3AB3
triadic
#703AB3 #B3703A #3AB370
tetradic
#703AB3 #B33A41 #7DB33A #3AB3AD
square
#703AB3 #B33A41 #7DB33A #3AB3AD
split-complementary
#703AB3 #B3AD3A #41B33A
monochromatic
#361C57 #532B85 #703AB3 #8F5FCB #B08DDA

Accessibility & contrast

On white

7.13
#703AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#703AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AB3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB3#FFFFFF#000000##FFFFFF
##703AB31.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#615672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #703ab3;
/* rgb */ color: rgb(112, 58, 179);
/* oklch */ color: oklch(48.1% 0.183 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e74cb',
    500: '#703ab3',
    950: '#000000',
  },
}
SCSS
$custom: #703ab3;
$custom-light: #9e74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab3",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 266.777,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.18259,
    "h": 300
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#703AB3
secondary
#A8C584
accent
#DB4D9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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