#712DA4#712DA4

#712DA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.183 H 306.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#712DA4
RGBrgb(113, 45, 164)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.1%, 72.6%, 0%, 35.7%)
CIE-LABlab(34.12, 50.79, -51.76)
CIE-LCHlch(34.12, 72.52, 314.46°)
OKLaboklab(45.47% 0.1087 -0.147)
OKLCHoklch(45.47% 0.183 306.5)
XYZxyz(14.4478, 8.0680, 35.9109)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DA4 #60A42D
analogous
#352DA4 #712DA4 #A42D9B
triadic
#712DA4 #A4712D #2DA471
tetradic
#712DA4 #A4352D #60A42D #2D9BA4
square
#712DA4 #A4352D #60A42D #2D9BA4
split-complementary
#712DA4 #9BA42D #2DA435
monochromatic
#2F1344 #502074 #712DA4 #9143CB #AD73D9

Accessibility & contrast

On white

8.03
#712DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#712DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DA4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DA4#FFFFFF#000000##FFFFFF
##712DA41.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712da4;
/* rgb */ color: rgb(113, 45, 164);
/* oklch */ color: oklch(45.5% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#712da4',
    950: '#000000',
  },
}
SCSS
$custom: #712da4;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712da4",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 274.286,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.18284,
    "h": 306.5
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#712DA4
secondary
#90C06D
accent
#E04889
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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