#712D9F#712D9F

#712D9F is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.178 H 308.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#712D9F
RGBrgb(113, 45, 159)
HSLhsl(276, 56%, 40%)
HSVhsv(276, 72%, 62%)
CMYKcmyk(28.9%, 71.7%, 0%, 37.6%)
CIE-LABlab(33.75, 49.63, -49.34)
CIE-LCHlch(33.75, 69.98, 315.17°)
OKLaboklab(45.09% 0.1095 -0.1399)
OKLCHoklch(45.09% 0.178 308.1)
XYZxyz(14.0051, 7.8909, 33.5795)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D9F #5B9F2D
analogous
#382D9F #712D9F #9F2D94
triadic
#712D9F #9F712D #2D9F71
tetradic
#712D9F #9F382D #5B9F2D #2D949F
square
#712D9F #9F382D #5B9F2D #2D949F
split-complementary
#712D9F #949F2D #2D9F38
monochromatic
#2D1240 #4F206F #712D9F #9240C9 #AD70D6

Accessibility & contrast

On white

8.15
#712D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#712D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D9F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D9F#FFFFFF#000000##FFFFFF
##712D9F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#6A4763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712d9f;
/* rgb */ color: rgb(113, 45, 159);
/* oklch */ color: oklch(45.1% 0.178 308.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cbc',
    500: '#712d9f',
    950: '#000000',
  },
}
SCSS
$custom: #712d9f;
$custom-light: #9e6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#712d9f",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 275.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.17766,
    "h": 308.1
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#712D9F
secondary
#8CBE6A
accent
#DF4985
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712D9F

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

Preview Lab → · Contrast checker → · Palette generator →

#712D9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva