#703AB4#703AB4

#703AB4 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.184 H 299.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#703AB4
RGBrgb(112, 58, 180)
HSLhsl(267, 51%, 47%)
HSVhsv(267, 68%, 71%)
CMYKcmyk(37.8%, 67.8%, 0%, 29.4%)
CIE-LABlab(37.42, 48.28, -55.97)
CIE-LCHlch(37.42, 73.92, 310.78°)
OKLaboklab(48.17% 0.0912 -0.1595)
OKLCHoklch(48.17% 0.184 299.8)
XYZxyz(16.4313, 9.7660, 44.1905)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB4 #7EB43A
analogous
#3A41B4 #703AB4 #AD3AB4
triadic
#703AB4 #B4703A #3AB470
tetradic
#703AB4 #B43A41 #7EB43A #3AB4AD
square
#703AB4 #B43A41 #7EB43A #3AB4AD
split-complementary
#703AB4 #B4AD3A #41B43A
monochromatic
#361C57 #532B86 #703AB4 #8F60CC #B08EDB

Accessibility & contrast

On white

7.11
#703AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #703AB4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB4#FFFFFF#000000##FFFFFF
##703AB41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #703ab4;
/* rgb */ color: rgb(112, 58, 180);
/* oklch */ color: oklch(48.2% 0.184 299.8);
Tailwind
colors: {
  custom: {
    50: '#9e74cb',
    500: '#703ab4',
    950: '#000000',
  },
}
SCSS
$custom: #703ab4;
$custom-light: #9e74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab4",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 266.557,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.18371,
    "h": 299.8
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#703AB4
secondary
#A9C585
accent
#DB4D9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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