#712DB1#712DB1

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

Color values

HEX#712DB1
RGBrgb(113, 45, 177)
HSLhsl(271, 59%, 44%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.2%, 74.6%, 0%, 30.6%)
CIE-LABlab(35.13, 53.87, -57.91)
CIE-LCHlch(35.13, 79.09, 312.93°)
OKLaboklab(46.49% 0.1062 -0.1651)
OKLCHoklch(46.49% 0.196 302.8)
XYZxyz(15.6824, 8.5618, 42.4128)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB1 #6DB12D
analogous
#2F2DB1 #712DB1 #B12DAF
triadic
#712DB1 #B1712D #2DB171
tetradic
#712DB1 #B12F2D #6DB12D #2DAFB1
square
#712DB1 #B12F2D #6DB12D #2DAFB1
split-complementary
#712DB1 #AFB12D #2DB12F
monochromatic
#33144F #522180 #712DB1 #904AD1 #AE7BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712DB1#FFFFFF#000000##FFFFFF
##712DB11.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)
#0051B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#644E6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712db1;
/* rgb */ color: rgb(113, 45, 177);
/* oklch */ color: oklch(46.5% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#a06dc9',
    500: '#712db1',
    950: '#000000',
  },
}
SCSS
$custom: #712db1;
$custom-light: #a06dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#712db1",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 270.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.19631,
    "h": 302.8
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#712DB1
secondary
#9CC674
accent
#E34592
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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