#712DA2#712DA2

#712DA2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.181 H 307.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#712DA2
RGBrgb(113, 45, 162)
HSLhsl(275, 57%, 41%)
HSVhsv(275, 72%, 64%)
CMYKcmyk(30.2%, 72.2%, 0%, 36.5%)
CIE-LABlab(33.98, 50.33, -50.80)
CIE-LCHlch(33.98, 71.51, 314.73°)
OKLaboklab(45.32% 0.1091 -0.1442)
OKLCHoklch(45.32% 0.181 307.1)
XYZxyz(14.2686, 7.9963, 34.9672)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DA2 #5EA22D
analogous
#362DA2 #712DA2 #A22D98
triadic
#712DA2 #A2712D #2DA271
tetradic
#712DA2 #A2362D #5EA22D #2D98A2
square
#712DA2 #A2362D #5EA22D #2D98A2
split-complementary
#712DA2 #98A22D #2DA236
monochromatic
#2E1242 #502072 #712DA2 #9142CA #AD72D8

Accessibility & contrast

On white

8.08
#712DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DA2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DA2#FFFFFF#000000##FFFFFF
##712DA21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0350A0
Tritanopia (blue-blind)
#694864
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712da2;
/* rgb */ color: rgb(113, 45, 162);
/* oklch */ color: oklch(45.3% 0.181 307.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cbe',
    500: '#712da2',
    950: '#000000',
  },
}
SCSS
$custom: #712da2;
$custom-light: #9e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712da2",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 274.872,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45318,
    "c": 0.18077,
    "h": 307.1
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#712DA2
secondary
#8FBF6C
accent
#E04888
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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