#712DB2#712DB2

#712DB2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.197 H 302.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#712DB2
RGBrgb(113, 45, 178)
HSLhsl(271, 60%, 44%)
HSVhsv(271, 75%, 70%)
CMYKcmyk(36.5%, 74.7%, 0%, 30.2%)
CIE-LABlab(35.21, 54.10, -58.38)
CIE-LCHlch(35.21, 79.60, 312.82°)
OKLaboklab(46.58% 0.106 -0.1665)
OKLCHoklch(46.58% 0.197 302.5)
XYZxyz(15.7824, 8.6018, 42.9397)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB2 #6EB22D
analogous
#2F2DB2 #712DB2 #B22DB0
triadic
#712DB2 #B2712D #2DB271
tetradic
#712DB2 #B22F2D #6EB22D #2DB0B2
square
#712DB2 #B22F2D #6EB22D #2DB0B2
split-complementary
#712DB2 #B0B22D #2DB22F
monochromatic
#331450 #522181 #712DB2 #904BD1 #AE7CDE

Accessibility & contrast

On white

7.72
#712DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#712DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DB2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB2#FFFFFF#000000##FFFFFF
##712DB21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#634F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712db2;
/* rgb */ color: rgb(113, 45, 178);
/* oklch */ color: oklch(46.6% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#a06dca',
    500: '#712db2',
    950: '#000000',
  },
}
SCSS
$custom: #712db2;
$custom-light: #a06dca;
$custom-dark: #000000;
JSON
{
  "hex": "#712db2",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 270.677,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.19735,
    "h": 302.5
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #712DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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