#703AAF#703AAF

#703AAF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.178 H 301.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#703AAF
RGBrgb(112, 58, 175)
HSLhsl(268, 50%, 46%)
HSVhsv(268, 67%, 69%)
CMYKcmyk(36%, 66.9%, 0%, 31.4%)
CIE-LABlab(37.05, 47.01, -53.61)
CIE-LCHlch(37.05, 71.30, 311.25°)
OKLaboklab(47.79% 0.0918 -0.1525)
OKLCHoklch(47.79% 0.178 301)
XYZxyz(15.9311, 9.5659, 41.5562)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AAF #79AF3A
analogous
#3A3EAF #703AAF #AA3AAF
triadic
#703AAF #AF703A #3AAF70
tetradic
#703AAF #AF3A3E #79AF3A #3AAFAA
square
#703AAF #AF3A3E #79AF3A #3AAFAA
split-complementary
#703AAF #AFAA3A #3EAF3A
monochromatic
#351C53 #532B81 #703AAF #8F5DC9 #AF8BD9

Accessibility & contrast

On white

7.21
#703AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#703AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AAF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AAF#FFFFFF#000000##FFFFFF
##703AAF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#63556F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #703aaf;
/* rgb */ color: rgb(112, 58, 175);
/* oklch */ color: oklch(47.8% 0.178 301.0);
Tailwind
colors: {
  custom: {
    50: '#9e74c8',
    500: '#703aaf',
    950: '#000000',
  },
}
SCSS
$custom: #703aaf;
$custom-light: #9e74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#703aaf",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 267.692,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.17803,
    "h": 301
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#703AAF
secondary
#A5C382
accent
#DA4E99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #703AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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