#712EAC#712EAC

#712EAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.190 H 304.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#712EAC
RGBrgb(113, 46, 172)
HSLhsl(272, 58%, 43%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(34.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(34.89, 52.23, -55.32)
CIE-LCHlch(34.89, 76.08, 313.36°)
OKLaboklab(46.2% 0.1063 -0.1575)
OKLCHoklch(46.2% 0.19 304)
XYZxyz(15.2317, 8.4433, 39.8490)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EAC #69AC2E
analogous
#322EAC #712EAC #AC2EA8
triadic
#712EAC #AC712E #2EAC71
tetradic
#712EAC #AC322E #69AC2E #2EA8AC
square
#712EAC #AC322E #69AC2E #2EA8AC
split-complementary
#712EAC #A8AC2E #2EAC32
monochromatic
#32144B #51217C #712EAC #9049CE #AD79DB

Accessibility & contrast

On white

7.81
#712EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712EAC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EAC#FFFFFF#000000##FFFFFF
##712EAC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#654D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712eac;
/* rgb */ color: rgb(113, 46, 172);
/* oklch */ color: oklch(46.2% 0.190 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dc6',
    500: '#712eac',
    950: '#000000',
  },
}
SCSS
$custom: #712eac;
$custom-light: #9f6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#712eac",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 271.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.18999,
    "h": 304
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#712EAC
secondary
#98C372
accent
#E1478F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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