#712AA3#712AA3

#712AA3 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 307.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#712AA3
RGBrgb(113, 42, 163)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 74%, 64%)
CMYKcmyk(30.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(33.59, 51.87, -52.03)
CIE-LCHlch(33.59, 73.47, 314.91°)
OKLaboklab(45.07% 0.1119 -0.1478)
OKLCHoklch(45.07% 0.185 307.1)
XYZxyz(14.2475, 7.8112, 35.4004)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA3 #5CA32A
analogous
#352AA3 #712AA3 #A32A98
triadic
#712AA3 #A3712A #2AA371
tetradic
#712AA3 #A3352A #5CA32A #2A98A3
square
#712AA3 #A3352A #5CA32A #2A98A3
split-complementary
#712AA3 #98A32A #2AA335
monochromatic
#2E1142 #4F1D72 #712AA3 #923DCD #AD6EDA

Accessibility & contrast

On white

8.20
#712AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#712AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AA3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA3#FFFFFF#000000##FFFFFF
##712AA31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#694764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712aa3;
/* rgb */ color: rgb(113, 42, 163);
/* oklch */ color: oklch(45.1% 0.185 307.1);
Tailwind
colors: {
  custom: {
    50: '#9f6bbf',
    500: '#712aa3',
    950: '#000000',
  },
}
SCSS
$custom: #712aa3;
$custom-light: #9f6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa3",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 275.207,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.18537,
    "h": 307.1
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#712AA3
secondary
#8DC068
accent
#E24686
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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