#712EA5#712EA5

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

Color values

HEX#712EA5
RGBrgb(113, 46, 165)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(31.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.36, 50.58, -51.98)
CIE-LCHlch(34.36, 72.53, 314.21°)
OKLaboklab(45.66% 0.1075 -0.1477)
OKLCHoklch(45.66% 0.183 306.1)
XYZxyz(14.5771, 8.1814, 36.4013)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA5 #62A52E
analogous
#362EA5 #712EA5 #A52E9E
triadic
#712EA5 #A5712E #2EA571
tetradic
#712EA5 #A5362E #62A52E #2E9EA5
square
#712EA5 #A5362E #62A52E #2E9EA5
split-complementary
#712EA5 #9EA52E #2EA536
monochromatic
#2F1345 #502175 #712EA5 #9145CB #AD75D8

Accessibility & contrast

On white

7.97
#712EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712EA5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA5#FFFFFF#000000##FFFFFF
##712EA51.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#684A66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea5;
/* rgb */ color: rgb(113, 46, 165);
/* oklch */ color: oklch(45.7% 0.183 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#712ea5',
    950: '#000000',
  },
}
SCSS
$custom: #712ea5;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea5",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 273.782,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.18267,
    "h": 306.1
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#712EA5
secondary
#92C06F
accent
#E0488A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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