#703F9B#703F9B

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

Color values

HEX#703F9B
RGBrgb(112, 63, 155)
HSLhsl(272, 42%, 43%)
HSVhsv(272, 59%, 61%)
CMYKcmyk(27.7%, 59.4%, 0%, 39.2%)
CIE-LABlab(36.68, 39.32, -42.22)
CIE-LCHlch(36.68, 57.70, 312.97°)
OKLaboklab(47.09% 0.0868 -0.1191)
OKLCHoklch(47.09% 0.147 306.1)
XYZxyz(14.3747, 9.3664, 32.0546)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703F9B #6A9B3F
analogous
#423F9B #703F9B #9B3F98
triadic
#703F9B #9B703F #3F9B70
tetradic
#703F9B #9B423F #6A9B3F #3F989B
square
#703F9B #9B423F #6A9B3F #3F989B
split-complementary
#703F9B #989B3F #3F9B42
monochromatic
#311C44 #512D6F #703F9B #8F5BBC #AD86CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##703F9B#FFFFFF#000000##FFFFFF
##703F9B1.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)
#19559E
Deuteranopia (green-blind)
#2E5799
Tritanopia (blue-blind)
#695167
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #703f9b;
/* rgb */ color: rgb(112, 63, 155);
/* oklch */ color: oklch(47.1% 0.147 306.1);
Tailwind
colors: {
  custom: {
    50: '#9c76b9',
    500: '#703f9b',
    950: '#000000',
  },
}
SCSS
$custom: #703f9b;
$custom-light: #9c76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#703f9b",
  "rgb": {
    "r": 112,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 271.957,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.1474,
    "h": 306.1
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#703F9B
secondary
#99B87D
accent
#D25690
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #703F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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