#712EA6#712EA6

#712EA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.184 H 305.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#712EA6
RGBrgb(113, 46, 166)
HSLhsl(274, 57%, 42%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(31.9%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.43, 50.81, -52.46)
CIE-LCHlch(34.43, 73.04, 314.08°)
OKLaboklab(45.74% 0.1074 -0.1491)
OKLCHoklch(45.74% 0.184 305.8)
XYZxyz(14.6685, 8.2180, 36.8825)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA6 #63A62E
analogous
#352EA6 #712EA6 #A62E9F
triadic
#712EA6 #A6712E #2EA671
tetradic
#712EA6 #A6352E #63A62E #2E9FA6
square
#712EA6 #A6352E #63A62E #2E9FA6
split-complementary
#712EA6 #9FA62E #2EA635
monochromatic
#301346 #502176 #712EA6 #9046CC #AD76D9

Accessibility & contrast

On white

7.94
#712EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#712EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA6#FFFFFF#000000##FFFFFF
##712EA61.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#684A67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea6;
/* rgb */ color: rgb(113, 46, 166);
/* oklch */ color: oklch(45.7% 0.184 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dc1',
    500: '#712ea6',
    950: '#000000',
  },
}
SCSS
$custom: #712ea6;
$custom-light: #9f6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea6",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 273.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.18372,
    "h": 305.8
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#712EA6
secondary
#93C16F
accent
#E0488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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