#712DB0#712DB0

#712DB0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.195 H 303.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#712DB0
RGBrgb(113, 45, 176)
HSLhsl(271, 59%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(35.8%, 74.4%, 0%, 31%)
CIE-LABlab(35.05, 53.63, -57.45)
CIE-LCHlch(35.05, 78.59, 313.03°)
OKLaboklab(46.41% 0.1064 -0.1637)
OKLCHoklch(46.41% 0.195 303)
XYZxyz(15.5831, 8.5221, 41.8898)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB0 #6CB02D
analogous
#2F2DB0 #712DB0 #B02DAD
triadic
#712DB0 #B0712D #2DB071
tetradic
#712DB0 #B02F2D #6CB02D #2DADB0
square
#712DB0 #B02F2D #6CB02D #2DADB0
split-complementary
#712DB0 #ADB02D #2DB02F
monochromatic
#32144F #52217F #712DB0 #904AD1 #AE7ADD

Accessibility & contrast

On white

7.77
#712DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DB0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB0#FFFFFF#000000##FFFFFF
##712DB01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#644E6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712db0;
/* rgb */ color: rgb(113, 45, 176);
/* oklch */ color: oklch(46.4% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#712db0',
    950: '#000000',
  },
}
SCSS
$custom: #712db0;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712db0",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 271.145,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.19528,
    "h": 303
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#712DB0
secondary
#9BC573
accent
#E24591
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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