#712DC7#712DC7

#712DC7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.219 H 297.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#712DC7
RGBrgb(113, 45, 199)
HSLhsl(266, 63%, 48%)
HSVhsv(266, 77%, 78%)
CMYKcmyk(43.2%, 77.4%, 0%, 22%)
CIE-LABlab(36.95, 59.19, -67.90)
CIE-LCHlch(36.95, 90.08, 311.08°)
OKLaboklab(48.34% 0.1008 -0.1944)
OKLCHoklch(48.34% 0.219 297.4)
XYZxyz(18.0545, 9.5107, 54.9063)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DC7 #83C72D
analogous
#2D36C7 #712DC7 #BE2DC7
triadic
#712DC7 #C7712D #2DC771
tetradic
#712DC7 #C72D36 #83C72D #2DC7BE
square
#712DC7 #C72D36 #83C72D #2DC7BE
split-complementary
#712DC7 #C7BE2D #36C72D
monochromatic
#381663 #552295 #712DC7 #9158D9 #B28AE5

Accessibility & contrast

On white

7.24
#712DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#712DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DC7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DC7#FFFFFF#000000##FFFFFF
##712DC71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#5A5779
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #712dc7;
/* rgb */ color: rgb(113, 45, 199);
/* oklch */ color: oklch(48.3% 0.219 297.4);
Tailwind
colors: {
  custom: {
    50: '#a26ed9',
    500: '#712dc7',
    950: '#000000',
  },
}
SCSS
$custom: #712dc7;
$custom-light: #a26ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#712dc7",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 266.494,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.21897,
    "h": 297.4
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#712DC7
secondary
#ACCE81
accent
#E6429E
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #712DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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