#703AB1#703AB1

#703AB1 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.180 H 300.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#703AB1
RGBrgb(112, 58, 177)
HSLhsl(267, 51%, 46%)
HSVhsv(267, 67%, 69%)
CMYKcmyk(36.7%, 67.2%, 0%, 30.6%)
CIE-LABlab(37.20, 47.52, -54.56)
CIE-LCHlch(37.20, 72.35, 311.05°)
OKLaboklab(47.94% 0.0916 -0.1553)
OKLCHoklch(47.94% 0.18 300.5)
XYZxyz(16.1290, 9.6451, 42.5984)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB1 #7BB13A
analogous
#3A3FB1 #703AB1 #AB3AB1
triadic
#703AB1 #B1703A #3AB170
tetradic
#703AB1 #B13A3F #7BB13A #3AB1AB
square
#703AB1 #B13A3F #7BB13A #3AB1AB
split-complementary
#703AB1 #B1AB3A #3FB13A
monochromatic
#361C55 #532B83 #703AB1 #8F5ECA #AF8CD9

Accessibility & contrast

On white

7.17
#703AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#703AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AB1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB1#FFFFFF#000000##FFFFFF
##703AB11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#625571
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #703ab1;
/* rgb */ color: rgb(112, 58, 177);
/* oklch */ color: oklch(47.9% 0.180 300.5);
Tailwind
colors: {
  custom: {
    50: '#9e74c9',
    500: '#703ab1',
    950: '#000000',
  },
}
SCSS
$custom: #703ab1;
$custom-light: #9e74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab1",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 267.227,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.1803,
    "h": 300.5
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#703AB1
secondary
#A6C483
accent
#DA4E9A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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