#712EAF#712EAF

#712EAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.193 H 303.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#712EAF
RGBrgb(113, 46, 175)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(35.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(35.12, 52.95, -56.73)
CIE-LCHlch(35.12, 77.60, 313.03°)
OKLaboklab(46.44% 0.1057 -0.1616)
OKLCHoklch(46.44% 0.193 303.2)
XYZxyz(15.5231, 8.5598, 41.3835)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EAF #6CAF2E
analogous
#312EAF #712EAF #AF2EAC
triadic
#712EAF #AF712E #2EAF71
tetradic
#712EAF #AF312E #6CAF2E #2EACAF
square
#712EAF #AF312E #6CAF2E #2EACAF
split-complementary
#712EAF #ACAF2E #2EAF31
monochromatic
#32154E #52217F #712EAF #904BD0 #AE7BDC

Accessibility & contrast

On white

7.74
#712EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#712EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EAF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EAF#FFFFFF#000000##FFFFFF
##712EAF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#644E6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712eaf;
/* rgb */ color: rgb(113, 46, 175);
/* oklch */ color: oklch(46.4% 0.193 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#712eaf',
    950: '#000000',
  },
}
SCSS
$custom: #712eaf;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712eaf",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 271.163,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.19312,
    "h": 303.2
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#712EAF
secondary
#9BC574
accent
#E24691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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