#712CA9#712CA9

#712CA9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.189 H 305.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#712CA9
RGBrgb(113, 44, 169)
HSLhsl(273, 59%, 42%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(33.1%, 74%, 0%, 33.7%)
CIE-LABlab(34.35, 52.40, -54.40)
CIE-LCHlch(34.35, 75.54, 313.93°)
OKLaboklab(45.75% 0.1088 -0.1548)
OKLCHoklch(45.75% 0.189 305.1)
XYZxyz(14.8706, 8.1767, 38.3233)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA9 #64A92C
analogous
#332CA9 #712CA9 #A92CA3
triadic
#712CA9 #A9712C #2CA971
tetradic
#712CA9 #A9332C #64A92C #2CA3A9
square
#712CA9 #A9332C #64A92C #2CA3A9
split-complementary
#712CA9 #A3A92C #2CA933
monochromatic
#301348 #511F78 #712CA9 #9044CE #AD74DB

Accessibility & contrast

On white

7.97
#712CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#712CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA9#FFFFFF#000000##FFFFFF
##712CA91.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#674A68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ca9;
/* rgb */ color: rgb(113, 44, 169);
/* oklch */ color: oklch(45.7% 0.189 305.1);
Tailwind
colors: {
  custom: {
    50: '#9f6cc3',
    500: '#712ca9',
    950: '#000000',
  },
}
SCSS
$custom: #712ca9;
$custom-light: #9f6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca9",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 273.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.18919,
    "h": 305.1
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#712CA9
secondary
#94C36E
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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