#703C8B#703C8B

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

Color values

HEX#703C8B
RGBrgb(112, 60, 139)
HSLhsl(279, 40%, 39%)
HSVhsv(279, 57%, 55%)
CMYKcmyk(19.4%, 56.8%, 0%, 45.5%)
CIE-LABlab(35.08, 37.14, -35.02)
CIE-LCHlch(35.08, 51.05, 316.68°)
OKLaboklab(45.61% 0.0904 -0.098)
OKLCHoklch(45.61% 0.133 312.7)
XYZxyz(12.9573, 8.5409, 25.3871)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703C8B #578B3C
analogous
#493C8B #703C8B #8B3C7F
triadic
#703C8B #8B703C #3C8B70
tetradic
#703C8B #8B493C #578B3C #3C7F8B
square
#703C8B #8B493C #578B3C #3C7F8B
split-complementary
#703C8B #7F8B3C #3C8B49
monochromatic
#2B1736 #4E2A60 #703C8B #9251B4 #AD7BC6

Accessibility & contrast

On white

7.75
#703C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#703C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703C8B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703C8B#FFFFFF#000000##FFFFFF
##703C8B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#6D495D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #703c8b;
/* rgb */ color: rgb(112, 60, 139);
/* oklch */ color: oklch(45.6% 0.133 312.7);
Tailwind
colors: {
  custom: {
    50: '#9b74ad',
    500: '#703c8b',
    950: '#000000',
  },
}
SCSS
$custom: #703c8b;
$custom-light: #9b74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#703c8b",
  "rgb": {
    "r": 112,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 279.494,
    "s": 39.698,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.13335,
    "h": 312.7
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#703C8B
secondary
#88B073
accent
#D05881
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #703C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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