#712EA7#712EA7

#712EA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.185 H 305.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#712EA7
RGBrgb(113, 46, 167)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(34.51, 51.05, -52.94)
CIE-LCHlch(34.51, 73.55, 313.96°)
OKLaboklab(45.81% 0.1072 -0.1505)
OKLCHoklch(45.81% 0.185 305.5)
XYZxyz(14.7605, 8.2548, 37.3675)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA7 #64A72E
analogous
#342EA7 #712EA7 #A72EA1
triadic
#712EA7 #A7712E #2EA771
tetradic
#712EA7 #A7342E #64A72E #2EA1A7
square
#712EA7 #A7342E #64A72E #2EA1A7
split-complementary
#712EA7 #A1A72E #2EA734
monochromatic
#301447 #512177 #712EA7 #9046CC #AD76D9

Accessibility & contrast

On white

7.92
#712EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#712EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA7#FFFFFF#000000##FFFFFF
##712EA71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#674B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea7;
/* rgb */ color: rgb(113, 46, 167);
/* oklch */ color: oklch(45.8% 0.185 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dc2',
    500: '#712ea7',
    950: '#000000',
  },
}
SCSS
$custom: #712ea7;
$custom-light: #9f6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea7",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 273.223,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.18476,
    "h": 305.5
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#712EA7
secondary
#94C170
accent
#E0488C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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