#712CA4#712CA4

#712CA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 306.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#712CA4
RGBrgb(113, 44, 164)
HSLhsl(275, 58%, 41%)
HSVhsv(275, 73%, 64%)
CMYKcmyk(31.1%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.97, 51.23, -52.02)
CIE-LCHlch(33.97, 73.01, 314.57°)
OKLaboklab(45.36% 0.1097 -0.1477)
OKLCHoklch(45.36% 0.184 306.6)
XYZxyz(14.4101, 7.9926, 35.8983)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA4 #5FA42C
analogous
#352CA4 #712CA4 #A42C9B
triadic
#712CA4 #A4712C #2CA471
tetradic
#712CA4 #A4352C #5FA42C #2C9BA4
square
#712CA4 #A4352C #5FA42C #2C9BA4
split-complementary
#712CA4 #9BA42C #2CA435
monochromatic
#2F1243 #501F74 #712CA4 #9141CC #AD71D9

Accessibility & contrast

On white

8.08
#712CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA4#FFFFFF#000000##FFFFFF
##712CA41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#684865
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ca4;
/* rgb */ color: rgb(113, 44, 164);
/* oklch */ color: oklch(45.4% 0.184 306.6);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#712ca4',
    950: '#000000',
  },
}
SCSS
$custom: #712ca4;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca4",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 274.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.18405,
    "h": 306.6
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#712CA4
secondary
#90C06B
accent
#E14788
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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