#703CB5#703CB5

#703CB5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.182 H 299.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#703CB5
RGBrgb(112, 60, 181)
HSLhsl(266, 50%, 47%)
HSVhsv(266, 67%, 71%)
CMYKcmyk(38.1%, 66.9%, 0%, 29%)
CIE-LABlab(37.86, 47.51, -55.84)
CIE-LCHlch(37.86, 73.32, 310.39°)
OKLaboklab(48.51% 0.0889 -0.1591)
OKLCHoklch(48.51% 0.182 299.2)
XYZxyz(16.6364, 10.0125, 44.7632)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703CB5 #81B53C
analogous
#3C45B5 #703CB5 #AC3CB5
triadic
#703CB5 #B5703C #3CB570
tetradic
#703CB5 #B53C45 #81B53C #3CB5AC
square
#703CB5 #B53C45 #81B53C #3CB5AC
split-complementary
#703CB5 #B5AC3C #45B53C
monochromatic
#371E59 #542D87 #703CB5 #9063CB #B191DB

Accessibility & contrast

On white

6.99
#703CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#703CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #703CB5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703CB5#FFFFFF#000000##FFFFFF
##703CB51.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#605873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703cb5;
/* rgb */ color: rgb(112, 60, 181);
/* oklch */ color: oklch(48.5% 0.182 299.2);
Tailwind
colors: {
  custom: {
    50: '#9e75cc',
    500: '#703cb5',
    950: '#000000',
  },
}
SCSS
$custom: #703cb5;
$custom-light: #9e75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#703cb5",
  "rgb": {
    "r": 112,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 265.785,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.18225,
    "h": 299.2
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#703CB5
secondary
#ABC687
accent
#DA4E9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #703CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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