#712FA6#712FA6

#712FA6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.182 H 305.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#712FA6
RGBrgb(113, 47, 166)
HSLhsl(273, 56%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(31.9%, 71.7%, 0%, 34.9%)
CIE-LABlab(34.59, 50.36, -52.20)
CIE-LCHlch(34.59, 72.53, 313.97°)
OKLaboklab(45.85% 0.1063 -0.1483)
OKLCHoklch(45.85% 0.182 305.6)
XYZxyz(14.7080, 8.2970, 36.8956)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FA6 #64A62F
analogous
#352FA6 #712FA6 #A62FA0
triadic
#712FA6 #A6712F #2FA671
tetradic
#712FA6 #A6352F #64A62F #2FA0A6
square
#712FA6 #A6352F #64A62F #2FA0A6
split-complementary
#712FA6 #A0A62F #2FA635
monochromatic
#301447 #512176 #712FA6 #9047CB #AD77D8

Accessibility & contrast

On white

7.90
#712FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#712FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FA6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FA6#FFFFFF#000000##FFFFFF
##712FA61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#674B67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712fa6;
/* rgb */ color: rgb(113, 47, 166);
/* oklch */ color: oklch(45.9% 0.182 305.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dc1',
    500: '#712fa6',
    950: '#000000',
  },
}
SCSS
$custom: #712fa6;
$custom-light: #9e6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712fa6",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 273.277,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.18249,
    "h": 305.6
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #712FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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