#712CB2#712CB2

#712CB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.198 H 302.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#712CB2
RGBrgb(113, 44, 178)
HSLhsl(271, 60%, 44%)
HSVhsv(271, 75%, 70%)
CMYKcmyk(36.5%, 75.3%, 0%, 30.2%)
CIE-LABlab(35.06, 54.53, -58.62)
CIE-LCHlch(35.06, 80.07, 312.93°)
OKLaboklab(46.47% 0.1069 -0.1672)
OKLCHoklch(46.47% 0.198 302.6)
XYZxyz(15.7447, 8.5264, 42.9271)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CB2 #6DB22C
analogous
#2E2CB2 #712CB2 #B22CB0
triadic
#712CB2 #B2712C #2CB271
tetradic
#712CB2 #B22E2C #6DB22C #2CB0B2
square
#712CB2 #B22E2C #6DB22C #2CB0B2
split-complementary
#712CB2 #B0B22C #2CB22E
monochromatic
#331450 #522081 #712CB2 #9049D2 #AE7ADE

Accessibility & contrast

On white

7.76
#712CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712CB2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CB2#FFFFFF#000000##FFFFFF
##712CB21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#634E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712cb2;
/* rgb */ color: rgb(113, 44, 178);
/* oklch */ color: oklch(46.5% 0.198 302.6);
Tailwind
colors: {
  custom: {
    50: '#a06cca',
    500: '#712cb2',
    950: '#000000',
  },
}
SCSS
$custom: #712cb2;
$custom-light: #a06cca;
$custom-dark: #000000;
JSON
{
  "hex": "#712cb2",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 270.896,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46469,
    "c": 0.19844,
    "h": 302.6
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#712CB2
secondary
#9CC673
accent
#E44492
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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