#712AAF#712AAF

#712AAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.198 H 303.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#712AAF
RGBrgb(113, 42, 175)
HSLhsl(272, 61%, 43%)
HSVhsv(272, 76%, 69%)
CMYKcmyk(35.4%, 76%, 0%, 31.4%)
CIE-LABlab(34.52, 54.66, -57.71)
CIE-LCHlch(34.52, 79.49, 313.45°)
OKLaboklab(46.02% 0.1094 -0.1645)
OKLCHoklch(46.02% 0.198 303.6)
XYZxyz(15.3741, 8.2618, 41.3339)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AAF #68AF2A
analogous
#2F2AAF #712AAF #AF2AAA
triadic
#712AAF #AF712A #2AAF71
tetradic
#712AAF #AF2F2A #68AF2A #2AAAAF
square
#712AAF #AF2F2A #68AF2A #2AAAAF
split-complementary
#712AAF #AAAF2A #2AAF2F
monochromatic
#31124C #511E7E #712AAF #9044D2 #AD75DE

Accessibility & contrast

On white

7.92
#712AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#712AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AAF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AAF#FFFFFF#000000##FFFFFF
##712AAF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#654C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712aaf;
/* rgb */ color: rgb(113, 42, 175);
/* oklch */ color: oklch(46.0% 0.198 303.6);
Tailwind
colors: {
  custom: {
    50: '#a06bc8',
    500: '#712aaf',
    950: '#000000',
  },
}
SCSS
$custom: #712aaf;
$custom-light: #a06bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712aaf",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 272.03,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.19753,
    "h": 303.6
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#712AAF
secondary
#97C66F
accent
#E4438E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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