#712186#712186

#712186 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.168 H 318.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#712186
RGBrgb(113, 33, 134)
HSLhsl(288, 60%, 33%)
HSVhsv(288, 75%, 53%)
CMYKcmyk(15.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(30.21, 49.25, -39.71)
CIE-LCHlch(30.21, 63.27, 321.12°)
OKLaboklab(42.01% 0.1252 -0.1115)
OKLCHoklch(42.01% 0.168 318.3)
XYZxyz(11.6564, 6.3202, 23.1556)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712186 #368621
analogous
#3F2186 #712186 #862168
triadic
#712186 #867121 #218671
tetradic
#712186 #863F21 #368621 #216886
square
#712186 #863F21 #368621 #216886
split-complementary
#712186 #688621 #21863F
monochromatic
#1E0924 #481555 #712186 #9A2DB7 #B84ED3

Accessibility & contrast

On white

9.28
#712186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#712186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712186
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712186#FFFFFF#000000##FFFFFF
##7121861.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#703652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712186;
/* rgb */ color: rgb(113, 33, 134);
/* oklch */ color: oklch(42.0% 0.168 318.3);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#712186',
    950: '#000000',
  },
}
SCSS
$custom: #712186;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712186",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 287.525,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.16769,
    "h": 318.3
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#712186
secondary
#62B74C
accent
#E44465
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712186

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

Preview Lab → · Contrast checker → · Palette generator →

#712186 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva