#703AB7#703AB7

#703AB7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.187 H 299.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#703AB7
RGBrgb(112, 58, 183)
HSLhsl(266, 52%, 47%)
HSVhsv(266, 68%, 72%)
CMYKcmyk(38.8%, 68.3%, 0%, 28.2%)
CIE-LABlab(37.64, 49.05, -57.38)
CIE-LCHlch(37.64, 75.49, 310.52°)
OKLaboklab(48.4% 0.0908 -0.1636)
OKLCHoklch(48.4% 0.187 299)
XYZxyz(16.7402, 9.8895, 45.8175)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB7 #81B73A
analogous
#3A43B7 #703AB7 #AF3AB7
triadic
#703AB7 #B7703A #3AB770
tetradic
#703AB7 #B73A43 #81B73A #3AB7AF
square
#703AB7 #B73A43 #81B73A #3AB7AF
split-complementary
#703AB7 #B7AF3A #43B73A
monochromatic
#371D5A #542B89 #703AB7 #9061CD #B190DC

Accessibility & contrast

On white

7.05
#703AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#703AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AB7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB7#FFFFFF#000000##FFFFFF
##703AB71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#5F5874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703ab7;
/* rgb */ color: rgb(112, 58, 183);
/* oklch */ color: oklch(48.4% 0.187 299.0);
Tailwind
colors: {
  custom: {
    50: '#9f74cd',
    500: '#703ab7',
    950: '#000000',
  },
}
SCSS
$custom: #703ab7;
$custom-light: #9f74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab7",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 265.92,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.484,
    "c": 0.18712,
    "h": 299
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#703AB7
secondary
#ABC786
accent
#DB4C9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #703AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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