#703AAA#703AAA

#703AAA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.172 H 302.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#703AAA
RGBrgb(112, 58, 170)
HSLhsl(269, 49%, 45%)
HSVhsv(269, 66%, 67%)
CMYKcmyk(34.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(36.69, 45.75, -51.21)
CIE-LCHlch(36.69, 68.67, 311.78°)
OKLaboklab(47.42% 0.0923 -0.1455)
OKLCHoklch(47.42% 0.172 302.4)
XYZxyz(15.4491, 9.3731, 39.0177)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AAA #74AA3A
analogous
#3A3CAA #703AAA #A83AAA
triadic
#703AAA #AA703A #3AAA70
tetradic
#703AAA #AA3A3C #74AA3A #3AAAA8
square
#703AAA #AA3A3C #74AA3A #3AAAA8
split-complementary
#703AAA #AAA83A #3CAA3A
monochromatic
#341B4F #522A7C #703AAA #8F5AC7 #AE88D6

Accessibility & contrast

On white

7.31
#703AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#703AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AAA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AAA#FFFFFF#000000##FFFFFF
##703AAA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0E56A8
Tritanopia (blue-blind)
#64536D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #703aaa;
/* rgb */ color: rgb(112, 58, 170);
/* oklch */ color: oklch(47.4% 0.172 302.4);
Tailwind
colors: {
  custom: {
    50: '#9d74c4',
    500: '#703aaa',
    950: '#000000',
  },
}
SCSS
$custom: #703aaa;
$custom-light: #9d74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#703aaa",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 268.929,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.17231,
    "h": 302.4
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#703AAA
secondary
#A1C17F
accent
#D94F96
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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