#703B8D#703B8D

#703B8D is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.137 H 312.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#703B8D
RGBrgb(112, 59, 141)
HSLhsl(279, 41%, 39%)
HSVhsv(279, 58%, 55%)
CMYKcmyk(20.6%, 58.2%, 0%, 44.7%)
CIE-LABlab(35.00, 38.16, -36.39)
CIE-LCHlch(35.00, 52.73, 316.36°)
OKLaboklab(45.58% 0.0919 -0.102)
OKLCHoklch(45.58% 0.137 312)
XYZxyz(13.0529, 8.4961, 26.1464)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703B8D #588D3B
analogous
#473B8D #703B8D #8D3B81
triadic
#703B8D #8D703B #3B8D70
tetradic
#703B8D #8D473B #588D3B #3B818D
square
#703B8D #8D473B #588D3B #3B818D
split-complementary
#703B8D #818D3B #3B8D47
monochromatic
#2B1737 #4E2962 #703B8D #9250B6 #AC7BC8

Accessibility & contrast

On white

7.78
#703B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#703B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703B8D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703B8D#FFFFFF#000000##FFFFFF
##703B8D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#36538B
Tritanopia (blue-blind)
#6D495E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #703b8d;
/* rgb */ color: rgb(112, 59, 141);
/* oklch */ color: oklch(45.6% 0.137 312.0);
Tailwind
colors: {
  custom: {
    50: '#9b73af',
    500: '#703b8d',
    950: '#000000',
  },
}
SCSS
$custom: #703b8d;
$custom-light: #9b73af;
$custom-dark: #000000;
JSON
{
  "hex": "#703b8d",
  "rgb": {
    "r": 112,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 278.78,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45578,
    "c": 0.13732,
    "h": 312
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#703B8D
secondary
#89B173
accent
#D15782
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #703B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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