#712DB5#712DB5

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

Color values

HEX#712DB5
RGBrgb(113, 45, 181)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 71%)
CMYKcmyk(37.6%, 75.1%, 0%, 29%)
CIE-LABlab(35.45, 54.82, -59.77)
CIE-LCHlch(35.45, 81.10, 312.53°)
OKLaboklab(46.82% 0.1053 -0.1705)
OKLCHoklch(46.82% 0.2 301.7)
XYZxyz(16.0869, 8.7236, 44.5434)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB5 #71B52D
analogous
#2D2DB5 #712DB5 #B52DB5
triadic
#712DB5 #B5712D #2DB571
tetradic
#712DB5 #B52D2D #71B52D #2DB5B5
square
#712DB5 #B52D2D #71B52D #2DB5B5
split-complementary
#712DB5 #B5B52D #2DB52D
monochromatic
#341553 #522184 #712DB5 #904DD3 #AE7EDF

Accessibility & contrast

On white

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

On black

2.74
#712DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##712DB5#FFFFFF#000000##FFFFFF
##712DB51.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#62506F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712db5;
/* rgb */ color: rgb(113, 45, 181);
/* oklch */ color: oklch(46.8% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#a06dcc',
    500: '#712db5',
    950: '#000000',
  },
}
SCSS
$custom: #712db5;
$custom-light: #a06dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#712db5",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 270,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.20045,
    "h": 301.7
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#712DB5
secondary
#9FC776
accent
#E34494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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