#712EA1#712EA1

#712EA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.178 H 307.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#712EA1
RGBrgb(113, 46, 161)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 71%, 63%)
CMYKcmyk(29.8%, 71.4%, 0%, 36.9%)
CIE-LABlab(34.06, 49.64, -50.05)
CIE-LCHlch(34.06, 70.49, 314.76°)
OKLaboklab(45.36% 0.1082 -0.142)
OKLCHoklch(45.36% 0.178 307.3)
XYZxyz(14.2187, 8.0381, 34.5138)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA1 #5EA12E
analogous
#382EA1 #712EA1 #A12E97
triadic
#712EA1 #A1712E #2EA171
tetradic
#712EA1 #A1382E #5EA12E #2E97A1
square
#712EA1 #A1382E #5EA12E #2E97A1
split-complementary
#712EA1 #97A12E #2EA138
monochromatic
#2E1342 #502071 #712EA1 #9143C9 #AD73D7

Accessibility & contrast

On white

8.05
#712EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#712EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EA1
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EA1#FFFFFF#000000##FFFFFF
##712EA11.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#0A519F
Tritanopia (blue-blind)
#694864
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ea1;
/* rgb */ color: rgb(113, 46, 161);
/* oklch */ color: oklch(45.4% 0.178 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dbe',
    500: '#712ea1',
    950: '#000000',
  },
}
SCSS
$custom: #712ea1;
$custom-light: #9e6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea1",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 274.957,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.17849,
    "h": 307.3
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#712EA1
secondary
#8FBE6C
accent
#DF4988
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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