#703EAB#703EAB

#703EAB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.168 H 301.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#703EAB
RGBrgb(112, 62, 171)
HSLhsl(268, 47%, 46%)
HSVhsv(268, 64%, 67%)
CMYKcmyk(34.5%, 63.7%, 0%, 32.9%)
CIE-LABlab(37.54, 43.89, -50.44)
CIE-LCHlch(37.54, 66.87, 311.03°)
OKLaboklab(48.05% 0.0876 -0.1432)
OKLCHoklch(48.05% 0.168 301.4)
XYZxyz(15.7537, 9.8302, 39.5876)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703EAB #79AB3E
analogous
#3E42AB #703EAB #A63EAB
triadic
#703EAB #AB703E #3EAB70
tetradic
#703EAB #AB3E42 #79AB3E #3EABA6
square
#703EAB #AB3E42 #79AB3E #3EABA6
split-complementary
#703EAB #ABA63E #42AB3E
monochromatic
#351D51 #532E7E #703EAB #8F61C6 #AF8ED6

Accessibility & contrast

On white

7.08
#703EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#703EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703EAB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703EAB#FFFFFF#000000##FFFFFF
##703EAB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #703eab;
/* rgb */ color: rgb(112, 62, 171);
/* oklch */ color: oklch(48.0% 0.168 301.4);
Tailwind
colors: {
  custom: {
    50: '#9d76c5',
    500: '#703eab',
    950: '#000000',
  },
}
SCSS
$custom: #703eab;
$custom-light: #9d76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#703eab",
  "rgb": {
    "r": 112,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 267.523,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.16789,
    "h": 301.4
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#703EAB
secondary
#A5C184
accent
#D65199
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #703EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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