#712BA7#712BA7

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

Color values

HEX#712BA7
RGBrgb(113, 43, 167)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 74%, 65%)
CMYKcmyk(32.3%, 74.3%, 0%, 34.5%)
CIE-LABlab(34.04, 52.37, -53.70)
CIE-LCHlch(34.04, 75.01, 314.28°)
OKLaboklab(45.48% 0.1102 -0.1527)
OKLCHoklch(45.48% 0.188 305.8)
XYZxyz(14.6474, 8.0286, 37.3298)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA7 #61A72B
analogous
#332BA7 #712BA7 #A72B9F
triadic
#712BA7 #A7712B #2BA771
tetradic
#712BA7 #A7332B #61A72B #2B9FA7
square
#712BA7 #A7332B #61A72B #2B9FA7
split-complementary
#712BA7 #9FA72B #2BA733
monochromatic
#2F1246 #501E76 #712BA7 #9141CE #AD72DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712BA7#FFFFFF#000000##FFFFFF
##712BA71.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)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#674967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ba7;
/* rgb */ color: rgb(113, 43, 167);
/* oklch */ color: oklch(45.5% 0.188 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f6bc2',
    500: '#712ba7',
    950: '#000000',
  },
}
SCSS
$custom: #712ba7;
$custom-light: #9f6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba7",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 273.871,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.18829,
    "h": 305.8
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#712BA7
secondary
#91C26C
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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