#712BAE#712BAE

#712BAE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.195 H 303.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#712BAE
RGBrgb(113, 43, 174)
HSLhsl(272, 60%, 43%)
HSVhsv(272, 75%, 68%)
CMYKcmyk(35.1%, 75.3%, 0%, 31.8%)
CIE-LABlab(34.59, 54.01, -57.00)
CIE-LCHlch(34.59, 78.52, 313.45°)
OKLaboklab(46.04% 0.1087 -0.1624)
OKLCHoklch(46.04% 0.195 303.8)
XYZxyz(15.3121, 8.2945, 40.8305)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BAE #68AE2B
analogous
#2F2BAE #712BAE #AE2BAA
triadic
#712BAE #AE712B #2BAE71
tetradic
#712BAE #AE2F2B #68AE2B #2BAAAE
square
#712BAE #AE2F2B #68AE2B #2BAAAE
split-complementary
#712BAE #AAAE2B #2BAE2F
monochromatic
#31134C #511F7D #712BAE #9045D1 #AD76DD

Accessibility & contrast

On white

7.90
#712BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#712BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BAE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BAE#FFFFFF#000000##FFFFFF
##712BAE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#654C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712bae;
/* rgb */ color: rgb(113, 43, 174);
/* oklch */ color: oklch(46.0% 0.195 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f6cc7',
    500: '#712bae',
    950: '#000000',
  },
}
SCSS
$custom: #712bae;
$custom-light: #9f6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#712bae",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 272.061,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.19543,
    "h": 303.8
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #712BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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