#712AB3#712AB3

#712AB3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.202 H 302.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#712AB3
RGBrgb(113, 42, 179)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 77%, 70%)
CMYKcmyk(36.9%, 76.5%, 0%, 29.8%)
CIE-LABlab(34.85, 55.60, -59.56)
CIE-LCHlch(34.85, 81.48, 313.03°)
OKLaboklab(46.35% 0.1085 -0.1699)
OKLCHoklch(46.35% 0.202 302.6)
XYZxyz(15.7728, 8.4213, 43.4336)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB3 #6CB32A
analogous
#2C2AB3 #712AB3 #B32AB0
triadic
#712AB3 #B3712A #2AB371
tetradic
#712AB3 #B32C2A #6CB32A #2AB0B3
square
#712AB3 #B32C2A #6CB32A #2AB0B3
split-complementary
#712AB3 #B0B32A #2AB32C
monochromatic
#321350 #521E81 #712AB3 #9046D4 #AE78DF

Accessibility & contrast

On white

7.82
#712AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#712AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AB3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB3#FFFFFF#000000##FFFFFF
##712AB31.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#634D6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712ab3;
/* rgb */ color: rgb(113, 42, 179);
/* oklch */ color: oklch(46.3% 0.202 302.6);
Tailwind
colors: {
  custom: {
    50: '#a06bcb',
    500: '#712ab3',
    950: '#000000',
  },
}
SCSS
$custom: #712ab3;
$custom-light: #a06bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab3",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 271.095,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.20158,
    "h": 302.6
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#712AB3
secondary
#9BC772
accent
#E54391
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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