#712AB4#712AB4

#712AB4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.203 H 302.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#712AB4
RGBrgb(113, 42, 180)
HSLhsl(271, 62%, 44%)
HSVhsv(271, 77%, 71%)
CMYKcmyk(37.2%, 76.7%, 0%, 29.4%)
CIE-LABlab(34.93, 55.84, -60.02)
CIE-LCHlch(34.93, 81.98, 312.93°)
OKLaboklab(46.43% 0.1082 -0.1713)
OKLCHoklch(46.43% 0.203 302.3)
XYZxyz(15.8743, 8.4619, 43.9682)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB4 #6DB42A
analogous
#2C2AB4 #712AB4 #B42AB2
triadic
#712AB4 #B4712A #2AB471
tetradic
#712AB4 #B42C2A #6DB42A #2AB2B4
square
#712AB4 #B42C2A #6DB42A #2AB2B4
split-complementary
#712AB4 #B2B42A #2AB42C
monochromatic
#331351 #521E82 #712AB4 #9047D4 #AE79E0

Accessibility & contrast

On white

7.80
#712AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#712AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AB4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB4#FFFFFF#000000##FFFFFF
##712AB41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#634E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712ab4;
/* rgb */ color: rgb(113, 42, 180);
/* oklch */ color: oklch(46.4% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#a06bcb',
    500: '#712ab4',
    950: '#000000',
  },
}
SCSS
$custom: #712ab4;
$custom-light: #a06bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab4",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 270.87,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46429,
    "c": 0.2026,
    "h": 302.3
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#712AB4
secondary
#9CC872
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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