#712FA9#712FA9

#712FA9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.186 H 304.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#712FA9
RGBrgb(113, 47, 169)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 66%)
CMYKcmyk(33.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(34.82, 51.07, -53.64)
CIE-LCHlch(34.82, 74.06, 313.60°)
OKLaboklab(46.08% 0.1058 -0.1525)
OKLCHoklch(46.08% 0.186 304.8)
XYZxyz(14.9864, 8.4084, 38.3619)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FA9 #67A92F
analogous
#342FA9 #712FA9 #A92FA4
triadic
#712FA9 #A9712F #2FA971
tetradic
#712FA9 #A9342F #67A92F #2FA4A9
square
#712FA9 #A9342F #67A92F #2FA4A9
split-complementary
#712FA9 #A4A92F #2FA934
monochromatic
#311449 #512279 #712FA9 #9049CC #AD79DA

Accessibility & contrast

On white

7.83
#712FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#712FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FA9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FA9#FFFFFF#000000##FFFFFF
##712FA91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#664C69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712fa9;
/* rgb */ color: rgb(113, 47, 169);
/* oklch */ color: oklch(46.1% 0.186 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dc3',
    500: '#712fa9',
    950: '#000000',
  },
}
SCSS
$custom: #712fa9;
$custom-light: #9f6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712fa9",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 272.459,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.18565,
    "h": 304.8
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#712FA9
secondary
#97C272
accent
#E0488E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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