#712CAF#712CAF

#712CAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.195 H 303.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#712CAF
RGBrgb(113, 44, 175)
HSLhsl(272, 60%, 43%)
HSVhsv(272, 75%, 69%)
CMYKcmyk(35.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(34.82, 53.82, -57.23)
CIE-LCHlch(34.82, 78.56, 313.24°)
OKLaboklab(46.23% 0.1076 -0.1631)
OKLCHoklch(46.23% 0.195 303.4)
XYZxyz(15.4468, 8.4072, 41.3581)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CAF #6AAF2C
analogous
#302CAF #712CAF #AF2CAB
triadic
#712CAF #AF712C #2CAF71
tetradic
#712CAF #AF302C #6AAF2C #2CABAF
square
#712CAF #AF302C #6AAF2C #2CABAF
split-complementary
#712CAF #ABAF2C #2CAF30
monochromatic
#32134D #51207E #712CAF #9047D1 #AD78DD

Accessibility & contrast

On white

7.83
#712CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#712CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CAF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CAF#FFFFFF#000000##FFFFFF
##712CAF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#644D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712caf;
/* rgb */ color: rgb(113, 44, 175);
/* oklch */ color: oklch(46.2% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cc8',
    500: '#712caf',
    950: '#000000',
  },
}
SCSS
$custom: #712caf;
$custom-light: #9f6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712caf",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 271.603,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.19535,
    "h": 303.4
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#712CAF
secondary
#99C572
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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