#712AA9#712AA9

#712AA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 305.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#712AA9
RGBrgb(113, 42, 169)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 66%)
CMYKcmyk(33.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(34.05, 53.26, -54.89)
CIE-LCHlch(34.05, 76.48, 314.14°)
OKLaboklab(45.54% 0.1107 -0.1562)
OKLCHoklch(45.54% 0.191 305.3)
XYZxyz(14.7978, 8.0313, 38.2990)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA9 #62A92A
analogous
#312AA9 #712AA9 #A92AA2
triadic
#712AA9 #A9712A #2AA971
tetradic
#712AA9 #A9312A #62A92A #2AA2A9
square
#712AA9 #A9312A #62A92A #2AA2A9
split-complementary
#712AA9 #A2A92A #2AA931
monochromatic
#2F1247 #501E78 #712AA9 #9141D0 #AD72DC

Accessibility & contrast

On white

8.06
#712AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#712AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AA9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA9#FFFFFF#000000##FFFFFF
##712AA91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#674968
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712aa9;
/* rgb */ color: rgb(113, 42, 169);
/* oklch */ color: oklch(45.5% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f6bc3',
    500: '#712aa9',
    950: '#000000',
  },
}
SCSS
$custom: #712aa9;
$custom-light: #9f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa9",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 273.543,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.19144,
    "h": 305.3
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#712AA9
secondary
#92C36C
accent
#E3448B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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