#712CB3#712CB3

#712CB3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 302.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#712CB3
RGBrgb(113, 44, 179)
HSLhsl(271, 61%, 44%)
HSVhsv(271, 75%, 70%)
CMYKcmyk(36.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.14, 54.77, -59.09)
CIE-LCHlch(35.14, 80.57, 312.83°)
OKLaboklab(46.55% 0.1067 -0.1685)
OKLCHoklch(46.55% 0.199 302.3)
XYZxyz(15.8455, 8.5667, 43.4578)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CB3 #6EB32C
analogous
#2E2CB3 #712CB3 #B32CB1
triadic
#712CB3 #B3712C #2CB371
tetradic
#712CB3 #B32E2C #6EB32C #2CB1B3
square
#712CB3 #B32E2C #6EB32C #2CB1B3
split-complementary
#712CB3 #B1B32C #2CB32E
monochromatic
#331451 #522082 #712CB3 #904AD2 #AE7BDF

Accessibility & contrast

On white

7.74
#712CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#712CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CB3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CB3#FFFFFF#000000##FFFFFF
##712CB31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#634E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712cb3;
/* rgb */ color: rgb(113, 44, 179);
/* oklch */ color: oklch(46.6% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#a06ccb',
    500: '#712cb3',
    950: '#000000',
  },
}
SCSS
$custom: #712cb3;
$custom-light: #a06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#712cb3",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 270.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.19946,
    "h": 302.3
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#712CB3
secondary
#9CC774
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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