#712EA9#712EA9

#712EA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.187 H 304.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#712EA9
RGBrgb(113, 46, 169)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 73%, 66%)
CMYKcmyk(33.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(34.66, 51.52, -53.90)
CIE-LCHlch(34.66, 74.56, 313.71°)
OKLaboklab(45.97% 0.1069 -0.1533)
OKLCHoklch(45.97% 0.187 304.9)
XYZxyz(14.9469, 8.3294, 38.3487)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA9 #66A92E
analogous
#342EA9 #712EA9 #A92EA4
triadic
#712EA9 #A9712E #2EA971
tetradic
#712EA9 #A9342E #66A92E #2EA4A9
square
#712EA9 #A9342E #66A92E #2EA4A9
split-complementary
#712EA9 #A4A92E #2EA934
monochromatic
#311449 #512179 #712EA9 #9047CD #AD77DA

Accessibility & contrast

On white

7.88
#712EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#712EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA9#FFFFFF#000000##FFFFFF
##712EA91.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#674B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea9;
/* rgb */ color: rgb(113, 46, 169);
/* oklch */ color: oklch(46.0% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#9f6dc3',
    500: '#712ea9',
    950: '#000000',
  },
}
SCSS
$custom: #712ea9;
$custom-light: #9f6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea9",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 272.683,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.18685,
    "h": 304.9
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#712EA9
secondary
#96C271
accent
#E0478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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