#712AB6#712AB6

#712AB6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.205 H 301.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#712AB6
RGBrgb(113, 42, 182)
HSLhsl(270, 63%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(37.9%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.09, 56.31, -60.94)
CIE-LCHlch(35.09, 82.98, 312.74°)
OKLaboklab(46.6% 0.1077 -0.174)
OKLCHoklch(46.6% 0.205 301.8)
XYZxyz(16.0795, 8.5440, 45.0489)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB6 #6FB62A
analogous
#2B2AB6 #712AB6 #B62AB5
triadic
#712AB6 #B6712A #2AB671
tetradic
#712AB6 #B62B2A #6FB62A #2AB5B6
square
#712AB6 #B62B2A #6FB62A #2AB5B6
split-complementary
#712AB6 #B5B62A #2AB62B
monochromatic
#331353 #521F84 #712AB6 #9048D5 #AE7AE0

Accessibility & contrast

On white

7.75
#712AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#712AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AB6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB6#FFFFFF#000000##FFFFFF
##712AB61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#624F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712ab6;
/* rgb */ color: rgb(113, 42, 182);
/* oklch */ color: oklch(46.6% 0.205 301.8);
Tailwind
colors: {
  custom: {
    50: '#a06bcd',
    500: '#712ab6',
    950: '#000000',
  },
}
SCSS
$custom: #712ab6;
$custom-light: #a06bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab6",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 270.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.20461,
    "h": 301.8
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#712AB6
secondary
#9DC873
accent
#E64293
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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