#712EB9#712EB9

#712EB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.204 H 300.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#712EB9
RGBrgb(113, 46, 185)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 73%)
CMYKcmyk(38.9%, 75.1%, 0%, 27.5%)
CIE-LABlab(35.92, 55.36, -61.36)
CIE-LCHlch(35.92, 82.64, 312.06°)
OKLaboklab(47.25% 0.1035 -0.1752)
OKLCHoklch(47.25% 0.204 300.6)
XYZxyz(16.5418, 8.9673, 46.7489)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB9 #76B92E
analogous
#2E30B9 #712EB9 #B62EB9
triadic
#712EB9 #B9712E #2EB971
tetradic
#712EB9 #B92E30 #76B92E #2EB9B6
square
#712EB9 #B92E30 #76B92E #2EB9B6
split-complementary
#712EB9 #B9B62E #30B92E
monochromatic
#351657 #532288 #712EB9 #9051D4 #AF82E0

Accessibility & contrast

On white

7.52
#712EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#712EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB9#FFFFFF#000000##FFFFFF
##712EB91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#615272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712eb9;
/* rgb */ color: rgb(113, 46, 185);
/* oklch */ color: oklch(47.3% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#a06ecf',
    500: '#712eb9',
    950: '#000000',
  },
}
SCSS
$custom: #712eb9;
$custom-light: #a06ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb9",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 268.921,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.20352,
    "h": 300.6
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#712EB9
secondary
#A3C97A
accent
#E34497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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