#712DB4#712DB4

#712DB4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.199 H 302.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#712DB4
RGBrgb(113, 45, 180)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 71%)
CMYKcmyk(37.2%, 75%, 0%, 29.4%)
CIE-LABlab(35.37, 54.58, -59.31)
CIE-LCHlch(35.37, 80.60, 312.63°)
OKLaboklab(46.74% 0.1056 -0.1692)
OKLCHoklch(46.74% 0.199 302)
XYZxyz(15.9847, 8.6827, 44.0050)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB4 #70B42D
analogous
#2D2DB4 #712DB4 #B42DB4
triadic
#712DB4 #B4712D #2DB471
tetradic
#712DB4 #B42D2D #70B42D #2DB4B4
square
#712DB4 #B42D2D #70B42D #2DB4B4
split-complementary
#712DB4 #B4B42D #2DB42D
monochromatic
#341552 #522183 #712DB4 #904CD2 #AE7DDE

Accessibility & contrast

On white

7.67
#712DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712DB4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB4#FFFFFF#000000##FFFFFF
##712DB41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#634F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712db4;
/* rgb */ color: rgb(113, 45, 180);
/* oklch */ color: oklch(46.7% 0.199 302.0);
Tailwind
colors: {
  custom: {
    50: '#a06dcb',
    500: '#712db4',
    950: '#000000',
  },
}
SCSS
$custom: #712db4;
$custom-light: #a06dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712db4",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 270.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.19941,
    "h": 302
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#712DB4
secondary
#9EC776
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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