#712BAB#712BAB

#712BAB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.192 H 304.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#712BAB
RGBrgb(113, 43, 171)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(33.9%, 74.9%, 0%, 32.9%)
CIE-LABlab(34.35, 53.30, -55.59)
CIE-LCHlch(34.35, 77.02, 313.79°)
OKLaboklab(45.8% 0.1094 -0.1583)
OKLCHoklch(45.8% 0.192 304.6)
XYZxyz(15.0229, 8.1788, 39.3074)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BAB #65AB2B
analogous
#312BAB #712BAB #AB2BA5
triadic
#712BAB #AB712B #2BAB71
tetradic
#712BAB #AB312B #65AB2B #2BA5AB
square
#712BAB #AB312B #65AB2B #2BA5AB
split-complementary
#712BAB #A5AB2B #2BAB31
monochromatic
#301249 #511F7A #712BAB #9043D0 #AD74DC

Accessibility & contrast

On white

7.97
#712BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712BAB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BAB#FFFFFF#000000##FFFFFF
##712BAB1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#664B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712bab;
/* rgb */ color: rgb(113, 43, 171);
/* oklch */ color: oklch(45.8% 0.192 304.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bc5',
    500: '#712bab',
    950: '#000000',
  },
}
SCSS
$custom: #712bab;
$custom-light: #9f6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#712bab",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 272.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.19237,
    "h": 304.6
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#712BAB
secondary
#95C46E
accent
#E3458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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