#712EA8#712EA8

#712EA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.186 H 305.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#712EA8
RGBrgb(113, 46, 168)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 73%, 66%)
CMYKcmyk(32.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.58, 51.29, -53.42)
CIE-LCHlch(34.58, 74.05, 313.83°)
OKLaboklab(45.89% 0.107 -0.1519)
OKLCHoklch(45.89% 0.186 305.2)
XYZxyz(14.8533, 8.2919, 37.8562)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA8 #65A82E
analogous
#342EA8 #712EA8 #A82EA2
triadic
#712EA8 #A8712E #2EA871
tetradic
#712EA8 #A8342E #65A82E #2EA2A8
square
#712EA8 #A8342E #65A82E #2EA2A8
split-complementary
#712EA8 #A2A82E #2EA834
monochromatic
#301448 #512178 #712EA8 #9047CD #AD77DA

Accessibility & contrast

On white

7.90
#712EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#712EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA8#FFFFFF#000000##FFFFFF
##712EA81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#674B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ea8;
/* rgb */ color: rgb(113, 46, 168);
/* oklch */ color: oklch(45.9% 0.186 305.2);
Tailwind
colors: {
  custom: {
    50: '#9f6dc3',
    500: '#712ea8',
    950: '#000000',
  },
}
SCSS
$custom: #712ea8;
$custom-light: #9f6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea8",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 272.951,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.18581,
    "h": 305.2
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#712EA8
secondary
#95C270
accent
#E0488C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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