#703AB8#703AB8

#703AB8 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.188 H 298.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#703AB8
RGBrgb(112, 58, 184)
HSLhsl(266, 52%, 47%)
HSVhsv(266, 68%, 72%)
CMYKcmyk(39.1%, 68.5%, 0%, 27.8%)
CIE-LABlab(37.72, 49.31, -57.85)
CIE-LCHlch(37.72, 76.01, 310.44°)
OKLaboklab(48.48% 0.0906 -0.165)
OKLCHoklch(48.48% 0.188 298.8)
XYZxyz(16.8447, 9.9313, 46.3676)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703AB8 #82B83A
analogous
#3A43B8 #703AB8 #AF3AB8
triadic
#703AB8 #B8703A #3AB870
tetradic
#703AB8 #B83A43 #82B83A #3AB8AF
square
#703AB8 #B83A43 #82B83A #3AB8AF
split-complementary
#703AB8 #B8AF3A #43B83A
monochromatic
#371D5B #542B89 #703AB8 #9062CD #B190DC

Accessibility & contrast

On white

7.03
#703AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#703AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703AB8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703AB8#FFFFFF#000000##FFFFFF
##703AB81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#5F5874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #703ab8;
/* rgb */ color: rgb(112, 58, 184);
/* oklch */ color: oklch(48.5% 0.188 298.8);
Tailwind
colors: {
  custom: {
    50: '#9f74ce',
    500: '#703ab8',
    950: '#000000',
  },
}
SCSS
$custom: #703ab8;
$custom-light: #9f74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#703ab8",
  "rgb": {
    "r": 112,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 265.714,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.18826,
    "h": 298.8
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#703AB8
secondary
#ABC787
accent
#DC4C9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #703AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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