#712DAF#712DAF

#712DAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.194 H 303.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#712DAF
RGBrgb(113, 45, 175)
HSLhsl(271, 59%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(35.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.97, 53.39, -56.98)
CIE-LCHlch(34.97, 78.08, 313.14°)
OKLaboklab(46.33% 0.1067 -0.1623)
OKLCHoklch(46.33% 0.194 303.3)
XYZxyz(15.4845, 8.4826, 41.3707)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DAF #6BAF2D
analogous
#302DAF #712DAF #AF2DAC
triadic
#712DAF #AF712D #2DAF71
tetradic
#712DAF #AF302D #6BAF2D #2DACAF
square
#712DAF #AF302D #6BAF2D #2DACAF
split-complementary
#712DAF #ACAF2D #2DAF30
monochromatic
#32144E #52207E #712DAF #9049D0 #AD7ADD

Accessibility & contrast

On white

7.79
#712DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DAF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DAF#FFFFFF#000000##FFFFFF
##712DAF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712daf;
/* rgb */ color: rgb(113, 45, 175);
/* oklch */ color: oklch(46.3% 0.194 303.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#712daf',
    950: '#000000',
  },
}
SCSS
$custom: #712daf;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712daf",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 271.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.19425,
    "h": 303.3
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#712DAF
secondary
#9AC573
accent
#E24690
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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