#712CB1#712CB1

#712CB1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.197 H 302.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#712CB1
RGBrgb(113, 44, 177)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.2%, 75.1%, 0%, 30.6%)
CIE-LABlab(34.98, 54.29, -58.16)
CIE-LCHlch(34.98, 79.56, 313.03°)
OKLaboklab(46.39% 0.1072 -0.1658)
OKLCHoklch(46.39% 0.197 302.9)
XYZxyz(15.6447, 8.4864, 42.4003)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CB1 #6CB12C
analogous
#2F2CB1 #712CB1 #B12CAE
triadic
#712CB1 #B1712C #2CB171
tetradic
#712CB1 #B12F2C #6CB12C #2CAEB1
square
#712CB1 #B12F2C #6CB12C #2CAEB1
split-complementary
#712CB1 #AEB12C #2CB12F
monochromatic
#32144F #522080 #712CB1 #9049D2 #AE7ADE

Accessibility & contrast

On white

7.79
#712CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CB1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CB1#FFFFFF#000000##FFFFFF
##712CB11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#644E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712cb1;
/* rgb */ color: rgb(113, 44, 177);
/* oklch */ color: oklch(46.4% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#a06cc9',
    500: '#712cb1',
    950: '#000000',
  },
}
SCSS
$custom: #712cb1;
$custom-light: #a06cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#712cb1",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 271.128,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.19742,
    "h": 302.9
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#712CB1
secondary
#9BC673
accent
#E34491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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