#712FB5#712FB5

#712FB5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.198 H 301.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#712FB5
RGBrgb(113, 47, 181)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(37.6%, 74%, 0%, 29%)
CIE-LABlab(35.75, 53.95, -59.27)
CIE-LCHlch(35.75, 80.15, 312.31°)
OKLaboklab(47.04% 0.1035 -0.1691)
OKLCHoklch(47.04% 0.198 301.5)
XYZxyz(16.1650, 8.8798, 44.5694)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB5 #73B52F
analogous
#2F30B5 #712FB5 #B42FB5
triadic
#712FB5 #B5712F #2FB571
tetradic
#712FB5 #B52F30 #73B52F #2FB5B4
square
#712FB5 #B52F30 #73B52F #2FB5B4
split-complementary
#712FB5 #B5B42F #30B52F
monochromatic
#341654 #532284 #712FB5 #9050D1 #AE80DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712FB5#FFFFFF#000000##FFFFFF
##712FB51.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)
#0053B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#625170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712fb5;
/* rgb */ color: rgb(113, 47, 181);
/* oklch */ color: oklch(47.0% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#a06ecc',
    500: '#712fb5',
    950: '#000000',
  },
}
SCSS
$custom: #712fb5;
$custom-light: #a06ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb5",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 269.552,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.19825,
    "h": 301.5
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#712FB5
secondary
#A0C779
accent
#E24695
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #712FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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