#712AAE#712AAE

#712AAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.197 H 303.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#712AAE
RGBrgb(113, 42, 174)
HSLhsl(272, 61%, 42%)
HSVhsv(272, 76%, 68%)
CMYKcmyk(35.1%, 75.9%, 0%, 31.8%)
CIE-LABlab(34.44, 54.43, -57.24)
CIE-LCHlch(34.44, 78.98, 313.56°)
OKLaboklab(45.94% 0.1096 -0.1631)
OKLCHoklch(45.94% 0.197 303.9)
XYZxyz(15.2762, 8.2227, 40.8185)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AAE #67AE2A
analogous
#2F2AAE #712AAE #AE2AA9
triadic
#712AAE #AE712A #2AAE71
tetradic
#712AAE #AE2F2A #67AE2A #2AA9AE
square
#712AAE #AE2F2A #67AE2A #2AA9AE
split-complementary
#712AAE #A9AE2A #2AAE2F
monochromatic
#31124B #511E7D #712AAE #9043D2 #AD75DE

Accessibility & contrast

On white

7.94
#712AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#712AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AAE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AAE#FFFFFF#000000##FFFFFF
##712AAE1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#654B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712aae;
/* rgb */ color: rgb(113, 42, 174);
/* oklch */ color: oklch(45.9% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bc7',
    500: '#712aae',
    950: '#000000',
  },
}
SCSS
$custom: #712aae;
$custom-light: #9f6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#712aae",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 272.273,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.19652,
    "h": 303.9
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#712AAE
secondary
#97C56F
accent
#E4448E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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