#712EB5#712EB5

#712EB5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.199 H 301.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#712EB5
RGBrgb(113, 46, 181)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 75%, 71%)
CMYKcmyk(37.6%, 74.6%, 0%, 29%)
CIE-LABlab(35.60, 54.39, -59.52)
CIE-LCHlch(35.60, 80.63, 312.42°)
OKLaboklab(46.93% 0.1044 -0.1698)
OKLCHoklch(46.93% 0.199 301.6)
XYZxyz(16.1255, 8.8008, 44.5563)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB5 #72B52E
analogous
#2E2FB5 #712EB5 #B52EB5
triadic
#712EB5 #B5712E #2EB571
tetradic
#712EB5 #B52E2F #72B52E #2EB5B5
square
#712EB5 #B52E2F #72B52E #2EB5B5
split-complementary
#712EB5 #B5B52E #2FB52E
monochromatic
#341553 #532284 #712EB5 #904ED2 #AE7FDE

Accessibility & contrast

On white

7.61
#712EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#712EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB5#FFFFFF#000000##FFFFFF
##712EB51.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#62506F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712eb5;
/* rgb */ color: rgb(113, 46, 181);
/* oklch */ color: oklch(46.9% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#a06dcc',
    500: '#712eb5',
    950: '#000000',
  },
}
SCSS
$custom: #712eb5;
$custom-light: #a06dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb5",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 269.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.19935,
    "h": 301.6
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#712EB5
secondary
#A0C778
accent
#E34594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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