#712E9D#712E9D

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

Color values

HEX#712E9D
RGBrgb(113, 46, 157)
HSLhsl(276, 55%, 40%)
HSVhsv(276, 71%, 62%)
CMYKcmyk(28%, 70.7%, 0%, 38.4%)
CIE-LABlab(33.77, 48.71, -48.10)
CIE-LCHlch(33.77, 68.46, 315.36°)
OKLaboklab(45.06% 0.1087 -0.1362)
OKLCHoklch(45.06% 0.174 308.6)
XYZxyz(13.8716, 7.8993, 32.6857)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E9D #5A9D2E
analogous
#392E9D #712E9D #9D2E92
triadic
#712E9D #9D712E #2E9D71
tetradic
#712E9D #9D392E #5A9D2E #2E929D
square
#712E9D #9D392E #5A9D2E #2E929D
split-complementary
#712E9D #929D2E #2E9D39
monochromatic
#2D123E #4F206E #712E9D #9241C7 #AD70D5

Accessibility & contrast

On white

8.14
#712E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712E9D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E9D#FFFFFF#000000##FFFFFF
##712E9D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#15509B
Tritanopia (blue-blind)
#6A4762
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712e9d;
/* rgb */ color: rgb(113, 46, 157);
/* oklch */ color: oklch(45.1% 0.174 308.6);
Tailwind
colors: {
  custom: {
    50: '#9e6cbb',
    500: '#712e9d',
    950: '#000000',
  },
}
SCSS
$custom: #712e9d;
$custom-light: #9e6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712e9d",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 276.216,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.1743,
    "h": 308.6
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#712E9D
secondary
#8BBD6A
accent
#DE4A85
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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