#712CA7#712CA7

#712CA7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.187 H 305.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#712CA7
RGBrgb(113, 44, 167)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 74%, 65%)
CMYKcmyk(32.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(34.19, 51.93, -53.45)
CIE-LCHlch(34.19, 74.53, 314.18°)
OKLaboklab(45.59% 0.1092 -0.152)
OKLCHoklch(45.59% 0.187 305.7)
XYZxyz(14.6842, 8.1022, 37.3420)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA7 #62A72C
analogous
#342CA7 #712CA7 #A72CA0
triadic
#712CA7 #A7712C #2CA771
tetradic
#712CA7 #A7342C #62A72C #2CA0A7
square
#712CA7 #A7342C #62A72C #2CA0A7
split-complementary
#712CA7 #A0A72C #2CA734
monochromatic
#2F1246 #501F77 #712CA7 #9143CD #AD73DA

Accessibility & contrast

On white

8.01
#712CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#712CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA7#FFFFFF#000000##FFFFFF
##712CA71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#674967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ca7;
/* rgb */ color: rgb(113, 44, 167);
/* oklch */ color: oklch(45.6% 0.187 305.7);
Tailwind
colors: {
  custom: {
    50: '#9f6cc2',
    500: '#712ca7',
    950: '#000000',
  },
}
SCSS
$custom: #712ca7;
$custom-light: #9f6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca7",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 273.659,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.18714,
    "h": 305.7
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#712CA7
secondary
#92C26D
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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