#712DCA#712DCA

#712DCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.222 H 296.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#712DCA
RGBrgb(113, 45, 202)
HSLhsl(266, 64%, 48%)
HSVhsv(266, 78%, 79%)
CMYKcmyk(44.1%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.21, 59.93, -69.22)
CIE-LCHlch(37.21, 91.56, 310.88°)
OKLaboklab(48.6% 0.0999 -0.1983)
OKLCHoklch(48.6% 0.222 296.7)
XYZxyz(18.4063, 9.6514, 56.7588)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DCA #86CA2D
analogous
#2D37CA #712DCA #BF2DCA
triadic
#712DCA #CA712D #2DCA71
tetradic
#712DCA #CA2D37 #86CA2D #2DCABF
square
#712DCA #CA2D37 #86CA2D #2DCABF
split-complementary
#712DCA #CABF2D #37CA2D
monochromatic
#391766 #552298 #712DCA #925ADA #B38CE5

Accessibility & contrast

On white

7.17
#712DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#712DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DCA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DCA#FFFFFF#000000##FFFFFF
##712DCA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#59587B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #712dca;
/* rgb */ color: rgb(113, 45, 202);
/* oklch */ color: oklch(48.6% 0.222 296.7);
Tailwind
colors: {
  custom: {
    50: '#a26edb',
    500: '#712dca',
    950: '#000000',
  },
}
SCSS
$custom: #712dca;
$custom-light: #a26edb;
$custom-dark: #000000;
JSON
{
  "hex": "#712dca",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 265.987,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.22204,
    "h": 296.7
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#712DCA
secondary
#AECF83
accent
#E7419F
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #712DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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