#712DB7#712DB7

#712DB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 301.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#712DB7
RGBrgb(113, 45, 183)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 75%, 72%)
CMYKcmyk(38.3%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.61, 55.30, -60.69)
CIE-LCHlch(35.61, 82.11, 312.34°)
OKLaboklab(46.98% 0.1049 -0.1732)
OKLCHoklch(46.98% 0.203 301.2)
XYZxyz(16.2936, 8.8063, 45.6319)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB7 #73B72D
analogous
#2D2EB7 #712DB7 #B62DB7
triadic
#712DB7 #B7712D #2DB771
tetradic
#712DB7 #B72D2E #73B72D #2DB7B6
square
#712DB7 #B72D2E #73B72D #2DB7B6
split-complementary
#712DB7 #B7B62D #2EB72D
monochromatic
#341555 #532186 #712DB7 #904ED3 #AE7FDF

Accessibility & contrast

On white

7.61
#712DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#712DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DB7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB7#FFFFFF#000000##FFFFFF
##712DB71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#615170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712db7;
/* rgb */ color: rgb(113, 45, 183);
/* oklch */ color: oklch(47.0% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#a06dce',
    500: '#712db7',
    950: '#000000',
  },
}
SCSS
$custom: #712db7;
$custom-light: #a06dce;
$custom-dark: #000000;
JSON
{
  "hex": "#712db7",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 269.565,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46984,
    "c": 0.20251,
    "h": 301.2
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#712DB7
secondary
#A0C878
accent
#E44495
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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