#712885#712885

#712885 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.158 H 318.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#712885
RGBrgb(113, 40, 133)
HSLhsl(287, 54%, 34%)
HSVhsv(287, 70%, 52%)
CMYKcmyk(15%, 69.9%, 0%, 47.8%)
CIE-LABlab(31.17, 46.14, -37.55)
CIE-LCHlch(31.17, 59.49, 320.86°)
OKLaboklab(42.67% 0.1177 -0.1053)
OKLCHoklch(42.67% 0.158 318.2)
XYZxyz(11.8019, 6.7223, 22.8616)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712885 #3C8528
analogous
#432885 #712885 #85286B
triadic
#712885 #857128 #288571
tetradic
#712885 #854328 #3C8528 #286B85
square
#712885 #854328 #3C8528 #286B85
split-complementary
#712885 #6B8528 #288543
monochromatic
#210C27 #491A56 #712885 #9936B4 #B55ACD

Accessibility & contrast

On white

8.96
#712885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712885
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712885#FFFFFF#000000##FFFFFF
##7128851.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#713953
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712885;
/* rgb */ color: rgb(113, 40, 133);
/* oklch */ color: oklch(42.7% 0.158 318.2);
Tailwind
colors: {
  custom: {
    50: '#9d68a9',
    500: '#712885',
    950: '#000000',
  },
}
SCSS
$custom: #712885;
$custom-light: #9d68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#712885",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 287.097,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.15791,
    "h": 318.2
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#712885
secondary
#6AB356
accent
#DD4B6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712885

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

Preview Lab → · Contrast checker → · Palette generator →

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