#712EA4#712EA4

#712EA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.182 H 306.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#712EA4
RGBrgb(113, 46, 164)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(31.1%, 72%, 0%, 35.7%)
CIE-LABlab(34.28, 50.34, -51.50)
CIE-LCHlch(34.28, 72.02, 314.35°)
OKLaboklab(45.58% 0.1077 -0.1462)
OKLCHoklch(45.58% 0.182 306.4)
XYZxyz(14.4864, 8.1452, 35.9238)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA4 #61A42E
analogous
#362EA4 #712EA4 #A42E9C
triadic
#712EA4 #A4712E #2EA471
tetradic
#712EA4 #A4362E #61A42E #2E9CA4
square
#712EA4 #A4362E #61A42E #2E9CA4
split-complementary
#712EA4 #9CA42E #2EA436
monochromatic
#2F1344 #502174 #712EA4 #9145CB #AD74D8

Accessibility & contrast

On white

7.99
#712EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#712EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA4#FFFFFF#000000##FFFFFF
##712EA41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#684966
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea4;
/* rgb */ color: rgb(113, 46, 164);
/* oklch */ color: oklch(45.6% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#712ea4',
    950: '#000000',
  },
}
SCSS
$custom: #712ea4;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea4",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 274.068,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.18163,
    "h": 306.4
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#712EA4
secondary
#91C06E
accent
#DF488A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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