#712AAA#712AAA

#712AAA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.192 H 305.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#712AAA
RGBrgb(113, 42, 170)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(33.5%, 75.3%, 0%, 33.3%)
CIE-LABlab(34.13, 53.49, -55.36)
CIE-LCHlch(34.13, 76.98, 314.01°)
OKLaboklab(45.62% 0.1105 -0.1576)
OKLCHoklch(45.62% 0.192 305)
XYZxyz(14.8921, 8.0690, 38.7953)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AAA #63AA2A
analogous
#312AAA #712AAA #AA2AA3
triadic
#712AAA #AA712A #2AAA71
tetradic
#712AAA #AA312A #63AA2A #2AA3AA
square
#712AAA #AA312A #63AA2A #2AA3AA
split-complementary
#712AAA #A3AA2A #2AAA31
monochromatic
#301248 #501E79 #712AAA #9041D0 #AD72DC

Accessibility & contrast

On white

8.03
#712AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712AAA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AAA#FFFFFF#000000##FFFFFF
##712AAA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#664A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712aaa;
/* rgb */ color: rgb(113, 42, 170);
/* oklch */ color: oklch(45.6% 0.192 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f6bc4',
    500: '#712aaa',
    950: '#000000',
  },
}
SCSS
$custom: #712aaa;
$custom-light: #9f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#712aaa",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 273.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.19246,
    "h": 305
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#712AAA
secondary
#93C36C
accent
#E4448B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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