#712AB7#712AB7

#712AB7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.206 H 301.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#712AB7
RGBrgb(113, 42, 183)
HSLhsl(270, 63%, 44%)
HSVhsv(270, 77%, 72%)
CMYKcmyk(38.3%, 77%, 0%, 28.2%)
CIE-LABlab(35.17, 56.55, -61.40)
CIE-LCHlch(35.17, 83.47, 312.65°)
OKLaboklab(46.68% 0.1075 -0.1753)
OKLCHoklch(46.68% 0.206 301.5)
XYZxyz(16.1832, 8.5854, 45.5951)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB7 #70B72A
analogous
#2B2AB7 #712AB7 #B72AB7
triadic
#712AB7 #B7712A #2AB771
tetradic
#712AB7 #B72B2A #70B72A #2AB7B7
square
#712AB7 #B72B2A #70B72A #2AB7B7
split-complementary
#712AB7 #B7B72A #2AB72B
monochromatic
#341353 #521F85 #712AB7 #9049D5 #AE7BE1

Accessibility & contrast

On white

7.73
#712AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#712AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AB7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB7#FFFFFF#000000##FFFFFF
##712AB71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#624F70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712ab7;
/* rgb */ color: rgb(113, 42, 183);
/* oklch */ color: oklch(46.7% 0.206 301.5);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#712ab7',
    950: '#000000',
  },
}
SCSS
$custom: #712ab7;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab7",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 270.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46678,
    "c": 0.20563,
    "h": 301.5
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#712AB7
secondary
#9EC974
accent
#E64293
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #712AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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