#703397#703397

#703397 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.161 H 309.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#703397
RGBrgb(112, 51, 151)
HSLhsl(277, 50%, 40%)
HSVhsv(277, 66%, 59%)
CMYKcmyk(25.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(34.08, 44.69, -43.96)
CIE-LCHlch(34.08, 62.69, 315.47°)
OKLaboklab(45.12% 0.1022 -0.1242)
OKLCHoklch(45.12% 0.161 309.5)
XYZxyz(13.4507, 8.0470, 30.1168)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703397 #5A9733
analogous
#3E3397 #703397 #97338C
triadic
#703397 #977033 #339770
tetradic
#703397 #973E33 #5A9733 #338C97
square
#703397 #973E33 #5A9733 #338C97
split-complementary
#703397 #8C9733 #33973E
monochromatic
#2C143C #4E2469 #703397 #9147C1 #AC74D0

Accessibility & contrast

On white

8.05
#703397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#703397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703397
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703397#FFFFFF#000000##FFFFFF
##7033971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#6A4760
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #703397;
/* rgb */ color: rgb(112, 51, 151);
/* oklch */ color: oklch(45.1% 0.161 309.5);
Tailwind
colors: {
  custom: {
    50: '#9c6fb6',
    500: '#703397',
    950: '#000000',
  },
}
SCSS
$custom: #703397;
$custom-light: #9c6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#703397",
  "rgb": {
    "r": 112,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 276.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.16082,
    "h": 309.5
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#703397
secondary
#8BB86D
accent
#D94F85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #703397

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

Preview Lab → · Contrast checker → · Palette generator →

#703397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva