#712CB7#712CB7

#712CB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.204 H 301.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#712CB7
RGBrgb(113, 44, 183)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 72%)
CMYKcmyk(38.3%, 76%, 0%, 28.2%)
CIE-LABlab(35.46, 55.73, -60.93)
CIE-LCHlch(35.46, 82.57, 312.45°)
OKLaboklab(46.88% 0.1058 -0.1739)
OKLCHoklch(46.88% 0.204 301.3)
XYZxyz(16.2559, 8.7309, 45.6194)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CB7 #72B72C
analogous
#2C2DB7 #712CB7 #B62CB7
triadic
#712CB7 #B7712C #2CB771
tetradic
#712CB7 #B72C2D #72B72C #2CB7B6
square
#712CB7 #B72C2D #72B72C #2CB7B6
split-complementary
#712CB7 #B7B62C #2DB72C
monochromatic
#341454 #532086 #712CB7 #904CD4 #AE7EE0

Accessibility & contrast

On white

7.65
#712CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#712CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CB7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CB7#FFFFFF#000000##FFFFFF
##712CB71.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#615070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712cb7;
/* rgb */ color: rgb(113, 44, 183);
/* oklch */ color: oklch(46.9% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#a06dce',
    500: '#712cb7',
    950: '#000000',
  },
}
SCSS
$custom: #712cb7;
$custom-light: #a06dce;
$custom-dark: #000000;
JSON
{
  "hex": "#712cb7",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 269.784,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.20357,
    "h": 301.3
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#712CB7
secondary
#A0C876
accent
#E44394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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