#712BA3#712BA3

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

Color values

HEX#712BA3
RGBrgb(113, 43, 163)
HSLhsl(275, 58%, 40%)
HSVhsv(275, 74%, 64%)
CMYKcmyk(30.7%, 73.6%, 0%, 36.1%)
CIE-LABlab(33.74, 51.44, -51.78)
CIE-LCHlch(33.74, 72.99, 314.81°)
OKLaboklab(45.17% 0.1109 -0.1471)
OKLCHoklch(45.17% 0.184 307)
XYZxyz(14.2834, 7.8830, 35.4123)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA3 #5DA32B
analogous
#352BA3 #712BA3 #A32B99
triadic
#712BA3 #A3712B #2BA371
tetradic
#712BA3 #A3352B #5DA32B #2B99A3
square
#712BA3 #A3352B #5DA32B #2B99A3
split-complementary
#712BA3 #99A32B #2BA335
monochromatic
#2E1142 #4F1E73 #712BA3 #913FCC #AD6FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712BA3#FFFFFF#000000##FFFFFF
##712BA31.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)
#004DA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#694765
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712ba3;
/* rgb */ color: rgb(113, 43, 163);
/* oklch */ color: oklch(45.2% 0.184 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bbf',
    500: '#712ba3',
    950: '#000000',
  },
}
SCSS
$custom: #712ba3;
$custom-light: #9e6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba3",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 275,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.18419,
    "h": 307
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#712BA3
secondary
#8EC06A
accent
#E14687
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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