#712DAB#712DAB

#712DAB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.190 H 304.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#712DAB
RGBrgb(113, 45, 171)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 74%, 67%)
CMYKcmyk(33.9%, 73.7%, 0%, 32.9%)
CIE-LABlab(34.66, 52.44, -55.10)
CIE-LCHlch(34.66, 76.06, 313.58°)
OKLaboklab(46.02% 0.1075 -0.1568)
OKLCHoklch(46.02% 0.19 304.4)
XYZxyz(15.0974, 8.3278, 39.3322)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DAB #67AB2D
analogous
#322DAB #712DAB #AB2DA6
triadic
#712DAB #AB712D #2DAB71
tetradic
#712DAB #AB322D #67AB2D #2DA6AB
square
#712DAB #AB322D #67AB2D #2DA6AB
split-complementary
#712DAB #A6AB2D #2DAB32
monochromatic
#31144A #51207B #712DAB #9047CE #AD77DB

Accessibility & contrast

On white

7.88
#712DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#712DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DAB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DAB#FFFFFF#000000##FFFFFF
##712DAB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#664C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712dab;
/* rgb */ color: rgb(113, 45, 171);
/* oklch */ color: oklch(46.0% 0.190 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cc5',
    500: '#712dab',
    950: '#000000',
  },
}
SCSS
$custom: #712dab;
$custom-light: #9f6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#712dab",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 272.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.19011,
    "h": 304.4
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#712DAB
secondary
#97C371
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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