#712AA6#712AA6

#712AA6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.188 H 306.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#712AA6
RGBrgb(113, 42, 166)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(31.9%, 74.7%, 0%, 34.9%)
CIE-LABlab(33.82, 52.56, -53.47)
CIE-LCHlch(33.82, 74.98, 314.51°)
OKLaboklab(45.3% 0.1113 -0.152)
OKLCHoklch(45.3% 0.188 306.2)
XYZxyz(14.5194, 7.9200, 36.8328)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA6 #5FA62A
analogous
#332AA6 #712AA6 #A62A9D
triadic
#712AA6 #A6712A #2AA671
tetradic
#712AA6 #A6332A #5FA62A #2A9DA6
square
#712AA6 #A6332A #5FA62A #2A9DA6
split-complementary
#712AA6 #9DA62A #2AA633
monochromatic
#2F1144 #501E75 #712AA6 #913FCE #AD70DB

Accessibility & contrast

On white

8.13
#712AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712AA6
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA6#FFFFFF#000000##FFFFFF
##712AA61.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#684866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712aa6;
/* rgb */ color: rgb(113, 42, 166);
/* oklch */ color: oklch(45.3% 0.188 306.2);
Tailwind
colors: {
  custom: {
    50: '#9f6bc1',
    500: '#712aa6',
    950: '#000000',
  },
}
SCSS
$custom: #712aa6;
$custom-light: #9f6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa6",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 274.355,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.453,
    "c": 0.18841,
    "h": 306.2
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#712AA6
secondary
#90C26A
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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