#712FA5#712FA5

#712FA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.181 H 305.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#712FA5
RGBrgb(113, 47, 165)
HSLhsl(274, 56%, 42%)
HSVhsv(274, 72%, 65%)
CMYKcmyk(31.5%, 71.5%, 0%, 35.3%)
CIE-LABlab(34.52, 50.12, -51.72)
CIE-LCHlch(34.52, 72.02, 314.10°)
OKLaboklab(45.78% 0.1065 -0.1469)
OKLCHoklch(45.78% 0.181 305.9)
XYZxyz(14.6166, 8.2605, 36.4144)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FA5 #63A52F
analogous
#362FA5 #712FA5 #A52F9E
triadic
#712FA5 #A5712F #2FA571
tetradic
#712FA5 #A5362F #63A52F #2F9EA5
square
#712FA5 #A5362F #63A52F #2F9EA5
split-complementary
#712FA5 #9EA52F #2FA536
monochromatic
#301446 #502175 #712FA5 #9047CB #AD76D8

Accessibility & contrast

On white

7.92
#712FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#712FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FA5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FA5#FFFFFF#000000##FFFFFF
##712FA51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#684A67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712fa5;
/* rgb */ color: rgb(113, 47, 165);
/* oklch */ color: oklch(45.8% 0.181 305.9);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#712fa5',
    950: '#000000',
  },
}
SCSS
$custom: #712fa5;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712fa5",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 273.559,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.18144,
    "h": 305.9
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#712FA5
secondary
#93C070
accent
#DF498B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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