#712CAA#712CAA

#712CAA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.190 H 304.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#712CAA
RGBrgb(113, 44, 170)
HSLhsl(273, 59%, 42%)
HSVhsv(273, 74%, 67%)
CMYKcmyk(33.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(34.43, 52.64, -54.88)
CIE-LCHlch(34.43, 76.04, 313.81°)
OKLaboklab(45.83% 0.1086 -0.1561)
OKLCHoklch(45.83% 0.19 304.8)
XYZxyz(14.9648, 8.2144, 38.8196)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CAA #65AA2C
analogous
#322CAA #712CAA #AA2CA4
triadic
#712CAA #AA712C #2CAA71
tetradic
#712CAA #AA322C #65AA2C #2CA4AA
square
#712CAA #AA322C #65AA2C #2CA4AA
split-complementary
#712CAA #A4AA2C #2CAA32
monochromatic
#301349 #511F79 #712CAA #9044CF #AD75DB

Accessibility & contrast

On white

7.95
#712CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#712CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CAA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CAA#FFFFFF#000000##FFFFFF
##712CAA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#664B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712caa;
/* rgb */ color: rgb(113, 44, 170);
/* oklch */ color: oklch(45.8% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6cc4',
    500: '#712caa',
    950: '#000000',
  },
}
SCSS
$custom: #712caa;
$custom-light: #9f6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#712caa",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 272.857,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.19021,
    "h": 304.8
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#712CAA
secondary
#95C36F
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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