#712AAC#712AAC

#712AAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 304.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#712AAC
RGBrgb(113, 42, 172)
HSLhsl(273, 61%, 42%)
HSVhsv(273, 76%, 67%)
CMYKcmyk(34.3%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.28, 53.96, -56.30)
CIE-LCHlch(34.28, 77.98, 313.78°)
OKLaboklab(45.78% 0.1101 -0.1603)
OKLCHoklch(45.78% 0.194 304.5)
XYZxyz(15.0827, 8.1453, 39.7993)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AAC #65AC2A
analogous
#302AAC #712AAC #AC2AA6
triadic
#712AAC #AC712A #2AAC71
tetradic
#712AAC #AC302A #65AC2A #2AA6AC
square
#712AAC #AC302A #65AC2A #2AA6AC
split-complementary
#712AAC #A6AC2A #2AAC30
monochromatic
#30124A #511E7B #712AAC #9042D1 #AD73DD

Accessibility & contrast

On white

7.99
#712AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#712AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AAC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AAC#FFFFFF#000000##FFFFFF
##712AAC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#664B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712aac;
/* rgb */ color: rgb(113, 42, 172);
/* oklch */ color: oklch(45.8% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#9f6bc6',
    500: '#712aac',
    950: '#000000',
  },
}
SCSS
$custom: #712aac;
$custom-light: #9f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#712aac",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 272.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.19449,
    "h": 304.5
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#712AAC
secondary
#95C46D
accent
#E4448D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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