#712DA5#712DA5

#712DA5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.184 H 306.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#712DA5
RGBrgb(113, 45, 165)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 65%)
CMYKcmyk(31.5%, 72.7%, 0%, 35.3%)
CIE-LABlab(34.20, 51.03, -52.24)
CIE-LCHlch(34.20, 73.03, 314.33°)
OKLaboklab(45.55% 0.1086 -0.1484)
OKLCHoklch(45.55% 0.184 306.2)
XYZxyz(14.5385, 8.1042, 36.3884)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DA5 #61A52D
analogous
#352DA5 #712DA5 #A52D9D
triadic
#712DA5 #A5712D #2DA571
tetradic
#712DA5 #A5352D #61A52D #2D9DA5
square
#712DA5 #A5352D #61A52D #2D9DA5
split-complementary
#712DA5 #9DA52D #2DA535
monochromatic
#2F1345 #502075 #712DA5 #9143CC #AD73D9

Accessibility & contrast

On white

8.01
#712DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#712DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DA5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DA5#FFFFFF#000000##FFFFFF
##712DA51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#684966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712da5;
/* rgb */ color: rgb(113, 45, 165);
/* oklch */ color: oklch(45.5% 0.184 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#712da5',
    950: '#000000',
  },
}
SCSS
$custom: #712da5;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712da5",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 274,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.18389,
    "h": 306.2
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#712DA5
secondary
#91C16D
accent
#E0478A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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