#703AB5#703AB5

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

Color values

HEX#703AB5
RGBrgb(112, 58, 181)
HSLhsl(266, 51%, 47%)
HSVhsv(266, 68%, 71%)
CMYKcmyk(38.1%, 68%, 0%, 29%)
CIE-LABlab(37.49, 48.54, -56.45)
CIE-LCHlch(37.49, 74.44, 310.69°)
OKLaboklab(48.25% 0.0911 -0.1609)
OKLCHoklch(48.25% 0.185 299.5)
XYZxyz(16.5336, 9.8069, 44.7290)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB5 #7FB53A
analogous
#3A42B5 #703AB5 #AD3AB5
triadic
#703AB5 #B5703A #3AB570
tetradic
#703AB5 #B53A42 #7FB53A #3AB5AD
square
#703AB5 #B53A42 #7FB53A #3AB5AD
split-complementary
#703AB5 #B5AD3A #42B53A
monochromatic
#371C58 #532B87 #703AB5 #9060CC #B08EDB

Accessibility & contrast

On white

7.09
#703AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#703AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AB5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB5#FFFFFF#000000##FFFFFF
##703AB51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#605773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #703ab5;
/* rgb */ color: rgb(112, 58, 181);
/* oklch */ color: oklch(48.2% 0.185 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e74cc',
    500: '#703ab5',
    950: '#000000',
  },
}
SCSS
$custom: #703ab5;
$custom-light: #9e74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab5",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 266.341,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48246,
    "c": 0.18486,
    "h": 299.5
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#703AB5
secondary
#A9C685
accent
#DB4D9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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