#712CA6#712CA6

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

Color values

HEX#712CA6
RGBrgb(113, 44, 166)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 73%, 65%)
CMYKcmyk(31.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(34.12, 51.70, -52.97)
CIE-LCHlch(34.12, 74.02, 314.30°)
OKLaboklab(45.51% 0.1094 -0.1506)
OKLCHoklch(45.51% 0.186 306)
XYZxyz(14.5922, 8.0654, 36.8570)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA6 #61A62C
analogous
#342CA6 #712CA6 #A62C9E
triadic
#712CA6 #A6712C #2CA671
tetradic
#712CA6 #A6342C #61A62C #2C9EA6
square
#712CA6 #A6342C #61A62C #2C9EA6
split-complementary
#712CA6 #9EA62C #2CA634
monochromatic
#2F1245 #501F76 #712CA6 #9142CD #AD73DA

Accessibility & contrast

On white

8.04
#712CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712CA6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA6#FFFFFF#000000##FFFFFF
##712CA61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712ca6;
/* rgb */ color: rgb(113, 44, 166);
/* oklch */ color: oklch(45.5% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#9f6cc1',
    500: '#712ca6',
    950: '#000000',
  },
}
SCSS
$custom: #712ca6;
$custom-light: #9f6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca6",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 273.934,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.1861,
    "h": 306
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#712CA6
secondary
#91C16D
accent
#E1468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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