#712EAB#712EAB

#712EAB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.189 H 304.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#712EAB
RGBrgb(113, 46, 171)
HSLhsl(272, 58%, 43%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(33.9%, 73.1%, 0%, 32.9%)
CIE-LABlab(34.81, 52.00, -54.85)
CIE-LCHlch(34.81, 75.58, 313.47°)
OKLaboklab(46.13% 0.1065 -0.1561)
OKLCHoklch(46.13% 0.189 304.3)
XYZxyz(15.1361, 8.4050, 39.3451)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EAB #68AB2E
analogous
#322EAB #712EAB #AB2EA7
triadic
#712EAB #AB712E #2EAB71
tetradic
#712EAB #AB322E #68AB2E #2EA7AB
square
#712EAB #AB322E #68AB2E #2EA7AB
split-complementary
#712EAB #A7AB2E #2EAB32
monochromatic
#31144B #51217B #712EAB #9048CE #AD79DB

Accessibility & contrast

On white

7.83
#712EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712EAB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EAB#FFFFFF#000000##FFFFFF
##712EAB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#664C6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712eab;
/* rgb */ color: rgb(113, 46, 171);
/* oklch */ color: oklch(46.1% 0.189 304.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dc5',
    500: '#712eab',
    950: '#000000',
  },
}
SCSS
$custom: #712eab;
$custom-light: #9f6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#712eab",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 272.16,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.18894,
    "h": 304.3
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#712EAB
secondary
#97C372
accent
#E1478E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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