#703B9D#703B9D

#703B9D is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.156 H 306.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#703B9D
RGBrgb(112, 59, 157)
HSLhsl(272, 45%, 42%)
HSVhsv(272, 62%, 62%)
CMYKcmyk(28.7%, 62.4%, 0%, 38.4%)
CIE-LABlab(36.00, 41.99, -44.52)
CIE-LCHlch(36.00, 61.20, 313.32°)
OKLaboklab(46.63% 0.092 -0.1258)
OKLCHoklch(46.63% 0.156 306.2)
XYZxyz(14.3306, 9.0071, 32.8753)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703B9D #689D3B
analogous
#3F3B9D #703B9D #9D3B99
triadic
#703B9D #9D703B #3B9D70
tetradic
#703B9D #9D3F3B #689D3B #3B999D
square
#703B9D #9D3F3B #689D3B #3B999D
split-complementary
#703B9D #999D3B #3B9D3F
monochromatic
#311A44 #502A71 #703B9D #8F56BF #AC82D0

Accessibility & contrast

On white

7.50
#703B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#703B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703B9D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703B9D#FFFFFF#000000##FFFFFF
##703B9D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A0
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#684F66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #703b9d;
/* rgb */ color: rgb(112, 59, 157);
/* oklch */ color: oklch(46.6% 0.156 306.2);
Tailwind
colors: {
  custom: {
    50: '#9c74ba',
    500: '#703b9d',
    950: '#000000',
  },
}
SCSS
$custom: #703b9d;
$custom-light: #9c74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#703b9d",
  "rgb": {
    "r": 112,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 272.449,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.15588,
    "h": 306.2
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#703B9D
secondary
#97BA7A
accent
#D5538F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #703B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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