#712AB5#712AB5

#712AB5 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.204 H 302.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#712AB5
RGBrgb(113, 42, 181)
HSLhsl(271, 62%, 44%)
HSVhsv(271, 77%, 71%)
CMYKcmyk(37.6%, 76.8%, 0%, 29%)
CIE-LABlab(35.01, 56.08, -60.48)
CIE-LCHlch(35.01, 82.48, 312.84°)
OKLaboklab(46.51% 0.108 -0.1726)
OKLCHoklch(46.51% 0.204 302)
XYZxyz(15.9765, 8.5028, 44.5066)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB5 #6EB52A
analogous
#2B2AB5 #712AB5 #B52AB3
triadic
#712AB5 #B5712A #2AB571
tetradic
#712AB5 #B52B2A #6EB52A #2AB3B5
square
#712AB5 #B52B2A #6EB52A #2AB3B5
split-complementary
#712AB5 #B3B52A #2AB52B
monochromatic
#331352 #521E83 #712AB5 #9048D4 #AE79E0

Accessibility & contrast

On white

7.78
#712AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AB5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB5#FFFFFF#000000##FFFFFF
##712AB51.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#624E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712ab5;
/* rgb */ color: rgb(113, 42, 181);
/* oklch */ color: oklch(46.5% 0.204 302.0);
Tailwind
colors: {
  custom: {
    50: '#a06bcc',
    500: '#712ab5',
    950: '#000000',
  },
}
SCSS
$custom: #712ab5;
$custom-light: #a06bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab5",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 270.647,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.20361,
    "h": 302
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#712AB5
secondary
#9CC873
accent
#E54292
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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