#712AB2#712AB2

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

Color values

HEX#712AB2
RGBrgb(113, 42, 178)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 76%, 70%)
CMYKcmyk(36.5%, 76.4%, 0%, 30.2%)
CIE-LABlab(34.76, 55.37, -59.10)
CIE-LCHlch(34.76, 80.98, 313.13°)
OKLaboklab(46.26% 0.1087 -0.1685)
OKLCHoklch(46.26% 0.201 302.8)
XYZxyz(15.6720, 8.3810, 42.9029)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AB2 #6BB22A
analogous
#2D2AB2 #712AB2 #B22AAF
triadic
#712AB2 #B2712A #2AB271
tetradic
#712AB2 #B22D2A #6BB22A #2AAFB2
square
#712AB2 #B22D2A #6BB22A #2AAFB2
split-complementary
#712AB2 #AFB22A #2AB22D
monochromatic
#32134F #521E80 #712AB2 #9046D3 #AD77DF

Accessibility & contrast

On white

7.85
#712AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712AB2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AB2#FFFFFF#000000##FFFFFF
##712AB21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712ab2;
/* rgb */ color: rgb(113, 42, 178);
/* oklch */ color: oklch(46.3% 0.201 302.8);
Tailwind
colors: {
  custom: {
    50: '#a06bca',
    500: '#712ab2',
    950: '#000000',
  },
}
SCSS
$custom: #712ab2;
$custom-light: #a06bca;
$custom-dark: #000000;
JSON
{
  "hex": "#712ab2",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 271.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.20056,
    "h": 302.8
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#712AB2
secondary
#9AC771
accent
#E54390
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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