#712FA7#712FA7

#712FA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.184 H 305.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#712FA7
RGBrgb(113, 47, 167)
HSLhsl(273, 56%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.3%, 71.9%, 0%, 34.5%)
CIE-LABlab(34.67, 50.60, -52.68)
CIE-LCHlch(34.67, 73.04, 313.84°)
OKLaboklab(45.93% 0.1062 -0.1497)
OKLCHoklch(45.93% 0.184 305.3)
XYZxyz(14.8001, 8.3339, 37.3806)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FA7 #65A72F
analogous
#352FA7 #712FA7 #A72FA1
triadic
#712FA7 #A7712F #2FA771
tetradic
#712FA7 #A7352F #65A72F #2FA1A7
square
#712FA7 #A7352F #65A72F #2FA1A7
split-complementary
#712FA7 #A1A72F #2FA735
monochromatic
#301447 #512277 #712FA7 #9048CB #AD78D9

Accessibility & contrast

On white

7.87
#712FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#712FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FA7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FA7#FFFFFF#000000##FFFFFF
##712FA71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#674B68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712fa7;
/* rgb */ color: rgb(113, 47, 167);
/* oklch */ color: oklch(45.9% 0.184 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dc2',
    500: '#712fa7',
    950: '#000000',
  },
}
SCSS
$custom: #712fa7;
$custom-light: #9f6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#712fa7",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 273,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.18354,
    "h": 305.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#712FA7
secondary
#95C171
accent
#DF488C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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