#703F8D#703F8D

#703F8D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.2% C 0.131 H 311.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#703F8D
RGBrgb(112, 63, 141)
HSLhsl(278, 38%, 40%)
HSVhsv(278, 55%, 55%)
CMYKcmyk(20.6%, 55.3%, 0%, 44.7%)
CIE-LABlab(35.84, 35.93, -35.05)
CIE-LCHlch(35.84, 50.20, 315.71°)
OKLaboklab(46.2% 0.0863 -0.0981)
OKLCHoklch(46.2% 0.131 311.3)
XYZxyz(13.2664, 8.9231, 26.2176)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703F8D #5C8D3F
analogous
#493F8D #703F8D #8D3F83
triadic
#703F8D #8D703F #3F8D70
tetradic
#703F8D #8D493F #5C8D3F #3F838D
square
#703F8D #8D493F #5C8D3F #3F838D
split-complementary
#703F8D #838D3F #3F8D49
monochromatic
#2D1938 #4E2C63 #703F8D #9156B3 #AC80C6

Accessibility & contrast

On white

7.54
#703F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#703F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703F8D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703F8D#FFFFFF#000000##FFFFFF
##703F8D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#6D4C60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #703f8d;
/* rgb */ color: rgb(112, 63, 141);
/* oklch */ color: oklch(46.2% 0.131 311.3);
Tailwind
colors: {
  custom: {
    50: '#9b76af',
    500: '#703f8d',
    950: '#000000',
  },
}
SCSS
$custom: #703f8d;
$custom-light: #9b76af;
$custom-dark: #000000;
JSON
{
  "hex": "#703f8d",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 277.692,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.46196,
    "c": 0.13067,
    "h": 311.3
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#703F8D
secondary
#8DB177
accent
#CE5A85
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #703F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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