#712EB7#712EB7

#712EB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.201 H 301.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#712EB7
RGBrgb(113, 46, 183)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(38.3%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.76, 54.88, -60.44)
CIE-LCHlch(35.76, 81.64, 312.24°)
OKLaboklab(47.09% 0.104 -0.1725)
OKLCHoklch(47.09% 0.201 301.1)
XYZxyz(16.3322, 8.8835, 45.6448)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB7 #74B72E
analogous
#2E30B7 #712EB7 #B52EB7
triadic
#712EB7 #B7712E #2EB771
tetradic
#712EB7 #B72E30 #74B72E #2EB7B5
square
#712EB7 #B72E30 #74B72E #2EB7B5
split-complementary
#712EB7 #B7B52E #30B72E
monochromatic
#351555 #532286 #712EB7 #904FD3 #AF80DF

Accessibility & contrast

On white

7.56
#712EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#712EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB7#FFFFFF#000000##FFFFFF
##712EB71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#615171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712eb7;
/* rgb */ color: rgb(113, 46, 183);
/* oklch */ color: oklch(47.1% 0.201 301.1);
Tailwind
colors: {
  custom: {
    50: '#a06ece',
    500: '#712eb7',
    950: '#000000',
  },
}
SCSS
$custom: #712eb7;
$custom-light: #a06ece;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb7",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 269.343,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.20144,
    "h": 301.1
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#712EB7
secondary
#A1C879
accent
#E34596
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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