#712BAC#712BAC

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

Color values

HEX#712BAC
RGBrgb(113, 43, 172)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(34.3%, 75%, 0%, 32.5%)
CIE-LABlab(34.43, 53.54, -56.06)
CIE-LCHlch(34.43, 77.52, 313.68°)
OKLaboklab(45.88% 0.1092 -0.1596)
OKLCHoklch(45.88% 0.193 304.4)
XYZxyz(15.1186, 8.2171, 39.8113)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BAC #66AC2B
analogous
#302BAC #712BAC #AC2BA7
triadic
#712BAC #AC712B #2BAC71
tetradic
#712BAC #AC302B #66AC2B #2BA7AC
square
#712BAC #AC302B #66AC2B #2BA7AC
split-complementary
#712BAC #A7AC2B #2BAC30
monochromatic
#31134A #511F7B #712BAC #9044D0 #AD75DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712BAC#FFFFFF#000000##FFFFFF
##712BAC1.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)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#664B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712bac;
/* rgb */ color: rgb(113, 43, 172);
/* oklch */ color: oklch(45.9% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cc6',
    500: '#712bac',
    950: '#000000',
  },
}
SCSS
$custom: #712bac;
$custom-light: #9f6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#712bac",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 272.558,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.19339,
    "h": 304.4
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#712BAC
secondary
#96C46F
accent
#E3458D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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