#712AAB#712AAB

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

Color values

HEX#712AAB
RGBrgb(113, 42, 171)
HSLhsl(273, 61%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(33.9%, 75.4%, 0%, 32.9%)
CIE-LABlab(34.20, 53.72, -55.83)
CIE-LCHlch(34.20, 77.48, 313.90°)
OKLaboklab(45.7% 0.1103 -0.159)
OKLCHoklch(45.7% 0.193 304.8)
XYZxyz(14.9870, 8.1070, 39.2954)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AAB #64AB2A
analogous
#312AAB #712AAB #AB2AA5
triadic
#712AAB #AB712A #2AAB71
tetradic
#712AAB #AB312A #64AB2A #2AA5AB
square
#712AAB #AB312A #64AB2A #2AA5AB
split-complementary
#712AAB #A5AB2A #2AAB31
monochromatic
#301249 #511E7A #712AAB #9042D1 #AD73DD

Accessibility & contrast

On white

8.01
#712AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#712AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AAB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AAB#FFFFFF#000000##FFFFFF
##712AAB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#664A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712aab;
/* rgb */ color: rgb(113, 42, 171);
/* oklch */ color: oklch(45.7% 0.193 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6bc5',
    500: '#712aab',
    950: '#000000',
  },
}
SCSS
$custom: #712aab;
$custom-light: #9f6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#712aab",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 273.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.19348,
    "h": 304.8
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#712AAB
secondary
#94C46D
accent
#E4448C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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