#703FAB#703FAB

#703FAB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.166 H 301.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#703FAB
RGBrgb(112, 63, 171)
HSLhsl(267, 46%, 46%)
HSVhsv(267, 63%, 67%)
CMYKcmyk(34.5%, 63.2%, 0%, 32.9%)
CIE-LABlab(37.73, 43.36, -50.12)
CIE-LCHlch(37.73, 66.27, 310.86°)
OKLaboklab(48.19% 0.0864 -0.1423)
OKLCHoklch(48.19% 0.166 301.3)
XYZxyz(15.8085, 9.9400, 39.6059)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703FAB #7AAB3F
analogous
#3F44AB #703FAB #A63FAB
triadic
#703FAB #AB703F #3FAB70
tetradic
#703FAB #AB3F44 #7AAB3F #3FABA6
square
#703FAB #AB3F44 #7AAB3F #3FABA6
split-complementary
#703FAB #ABA63F #44AB3F
monochromatic
#351E52 #532F7E #703FAB #8F62C5 #AF8FD6

Accessibility & contrast

On white

7.03
#703FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#703FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703FAB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703FAB#FFFFFF#000000##FFFFFF
##703FAB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#1958A9
Tritanopia (blue-blind)
#64566F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703fab;
/* rgb */ color: rgb(112, 63, 171);
/* oklch */ color: oklch(48.2% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#9d77c5',
    500: '#703fab',
    950: '#000000',
  },
}
SCSS
$custom: #703fab;
$custom-light: #9d77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#703fab",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 267.222,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.16647,
    "h": 301.3
  },
  "luminance": 0.0994
}

Semantic roles & 50–950 ramp

primary
#703FAB
secondary
#A6C185
accent
#D6529A
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #703FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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