#712EAA#712EAA

#712EAA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.188 H 304.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#712EAA
RGBrgb(113, 46, 170)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(33.5%, 72.9%, 0%, 33.3%)
CIE-LABlab(34.74, 51.76, -54.37)
CIE-LCHlch(34.74, 75.07, 313.59°)
OKLaboklab(46.05% 0.1067 -0.1547)
OKLCHoklch(46.05% 0.188 304.6)
XYZxyz(15.0411, 8.3670, 38.8450)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EAA #67AA2E
analogous
#332EAA #712EAA #AA2EA5
triadic
#712EAA #AA712E #2EAA71
tetradic
#712EAA #AA332E #67AA2E #2EA5AA
square
#712EAA #AA332E #67AA2E #2EA5AA
split-complementary
#712EAA #A5AA2E #2EAA33
monochromatic
#31144A #51217A #712EAA #9048CD #AD78DA

Accessibility & contrast

On white

7.86
#712EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712EAA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EAA#FFFFFF#000000##FFFFFF
##712EAA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712eaa;
/* rgb */ color: rgb(113, 46, 170);
/* oklch */ color: oklch(46.0% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#9f6dc4',
    500: '#712eaa',
    950: '#000000',
  },
}
SCSS
$custom: #712eaa;
$custom-light: #9f6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#712eaa",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 272.419,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.18789,
    "h": 304.6
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#712EAA
secondary
#97C371
accent
#E1478E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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