#712E9F#712E9F

#712E9F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.176 H 307.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#712E9F
RGBrgb(113, 46, 159)
HSLhsl(276, 55%, 40%)
HSVhsv(276, 71%, 62%)
CMYKcmyk(28.9%, 71.1%, 0%, 37.6%)
CIE-LABlab(33.92, 49.18, -49.08)
CIE-LCHlch(33.92, 69.48, 315.06°)
OKLaboklab(45.21% 0.1084 -0.1391)
OKLCHoklch(45.21% 0.176 307.9)
XYZxyz(14.0438, 7.9681, 33.5923)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E9F #5C9F2E
analogous
#382E9F #712E9F #9F2E95
triadic
#712E9F #9F712E #2E9F71
tetradic
#712E9F #9F382E #5C9F2E #2E959F
square
#712E9F #9F382E #5C9F2E #2E959F
split-complementary
#712E9F #959F2E #2E9F38
monochromatic
#2E1340 #4F2070 #712E9F #9242C8 #AD71D6

Accessibility & contrast

On white

8.10
#712E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#712E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712E9F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E9F#FFFFFF#000000##FFFFFF
##712E9F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#10509D
Tritanopia (blue-blind)
#6A4763
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712e9f;
/* rgb */ color: rgb(113, 46, 159);
/* oklch */ color: oklch(45.2% 0.176 307.9);
Tailwind
colors: {
  custom: {
    50: '#9e6cbc',
    500: '#712e9f',
    950: '#000000',
  },
}
SCSS
$custom: #712e9f;
$custom-light: #9e6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#712e9f",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 275.575,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.1764,
    "h": 307.9
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#712E9F
secondary
#8DBE6B
accent
#DE4986
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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