#712CA5#712CA5

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

Color values

HEX#712CA5
RGBrgb(113, 44, 165)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 73%, 65%)
CMYKcmyk(31.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(34.04, 51.47, -52.50)
CIE-LCHlch(34.04, 73.52, 314.43°)
OKLaboklab(45.44% 0.1096 -0.1492)
OKLCHoklch(45.44% 0.185 306.3)
XYZxyz(14.5008, 8.0288, 36.3758)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA5 #60A52C
analogous
#342CA5 #712CA5 #A52C9C
triadic
#712CA5 #A5712C #2CA571
tetradic
#712CA5 #A5342C #60A52C #2C9CA5
square
#712CA5 #A5342C #60A52C #2C9CA5
split-complementary
#712CA5 #9CA52C #2CA534
monochromatic
#2F1244 #501F75 #712CA5 #9142CD #AD72D9

Accessibility & contrast

On white

8.06
#712CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712CA5
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA5#FFFFFF#000000##FFFFFF
##712CA51.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712ca5;
/* rgb */ color: rgb(113, 44, 165);
/* oklch */ color: oklch(45.4% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#9f6cc0',
    500: '#712ca5',
    950: '#000000',
  },
}
SCSS
$custom: #712ca5;
$custom-light: #9f6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca5",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 274.215,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.18507,
    "h": 306.3
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#712CA5
secondary
#90C16C
accent
#E14789
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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