#712BAA#712BAA

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

Color values

HEX#712BAA
RGBrgb(113, 43, 170)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(33.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(34.27, 53.07, -55.12)
CIE-LCHlch(34.27, 76.52, 313.91°)
OKLaboklab(45.72% 0.1096 -0.1569)
OKLCHoklch(45.72% 0.191 304.9)
XYZxyz(14.9280, 8.1408, 38.8073)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BAA #64AA2B
analogous
#322BAA #712BAA #AA2BA4
triadic
#712BAA #AA712B #2BAA71
tetradic
#712BAA #AA322B #64AA2B #2BA4AA
square
#712BAA #AA322B #64AA2B #2BA4AA
split-complementary
#712BAA #A4AA2B #2BAA32
monochromatic
#301248 #511F79 #712BAA #9043CF #AD74DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712BAA#FFFFFF#000000##FFFFFF
##712BAA1.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)
#004FAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#664A68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712baa;
/* rgb */ color: rgb(113, 43, 170);
/* oklch */ color: oklch(45.7% 0.191 304.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bc4',
    500: '#712baa',
    950: '#000000',
  },
}
SCSS
$custom: #712baa;
$custom-light: #9f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#712baa",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 273.071,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.19135,
    "h": 304.9
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#712BAA
secondary
#94C36E
accent
#E3458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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