#712AA5#712AA5

#712AA5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.187 H 306.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#712AA5
RGBrgb(113, 42, 165)
HSLhsl(275, 59%, 41%)
HSVhsv(275, 75%, 65%)
CMYKcmyk(31.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(33.74, 52.33, -52.99)
CIE-LCHlch(33.74, 74.47, 314.64°)
OKLaboklab(45.22% 0.1115 -0.1506)
OKLCHoklch(45.22% 0.187 306.5)
XYZxyz(14.4281, 7.8834, 36.3516)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA5 #5EA52A
analogous
#332AA5 #712AA5 #A52A9B
triadic
#712AA5 #A5712A #2AA571
tetradic
#712AA5 #A5332A #5EA52A #2A9BA5
square
#712AA5 #A5332A #5EA52A #2A9BA5
split-complementary
#712AA5 #9BA52A #2AA533
monochromatic
#2E1143 #501E74 #712AA5 #913ECE #AD6FDA

Accessibility & contrast

On white

8.15
#712AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#712AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AA5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA5#FFFFFF#000000##FFFFFF
##712AA51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#684865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712aa5;
/* rgb */ color: rgb(113, 42, 165);
/* oklch */ color: oklch(45.2% 0.187 306.5);
Tailwind
colors: {
  custom: {
    50: '#9f6bc1',
    500: '#712aa5',
    950: '#000000',
  },
}
SCSS
$custom: #712aa5;
$custom-light: #9f6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa5",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 274.634,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.18739,
    "h": 306.5
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#712AA5
secondary
#8FC169
accent
#E34588
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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