#712FAC#712FAC

#712FAC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.189 H 303.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#712FAC
RGBrgb(113, 47, 172)
HSLhsl(272, 57%, 43%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(34.3%, 72.7%, 0%, 32.5%)
CIE-LABlab(35.05, 51.79, -55.06)
CIE-LCHlch(35.05, 75.59, 313.24°)
OKLaboklab(46.32% 0.1053 -0.1567)
OKLCHoklch(46.32% 0.189 303.9)
XYZxyz(15.2712, 8.5223, 39.8622)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FAC #6AAC2F
analogous
#322FAC #712FAC #AC2FA8
triadic
#712FAC #AC712F #2FAC71
tetradic
#712FAC #AC322F #6AAC2F #2FA8AC
square
#712FAC #AC322F #6AAC2F #2FA8AC
split-complementary
#712FAC #A8AC2F #2FAC32
monochromatic
#32154C #51227C #712FAC #904BCE #AD7BDB

Accessibility & contrast

On white

7.77
#712FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FAC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FAC#FFFFFF#000000##FFFFFF
##712FAC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#654D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712fac;
/* rgb */ color: rgb(113, 47, 172);
/* oklch */ color: oklch(46.3% 0.189 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ec6',
    500: '#712fac',
    950: '#000000',
  },
}
SCSS
$custom: #712fac;
$custom-light: #9f6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#712fac",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 271.68,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46317,
    "c": 0.18881,
    "h": 303.9
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#712FAC
secondary
#99C374
accent
#E04790
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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