#712EA0#712EA0

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

Color values

HEX#712EA0
RGBrgb(113, 46, 160)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 63%)
CMYKcmyk(29.4%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.99, 49.41, -49.57)
CIE-LCHlch(33.99, 69.99, 314.91°)
OKLaboklab(45.28% 0.1083 -0.1406)
OKLCHoklch(45.28% 0.177 307.6)
XYZxyz(14.1309, 8.0030, 34.0512)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA0 #5DA02E
analogous
#382EA0 #712EA0 #A02E96
triadic
#712EA0 #A0712E #2EA071
tetradic
#712EA0 #A0382E #5DA02E #2E96A0
square
#712EA0 #A0382E #5DA02E #2E96A0
split-complementary
#712EA0 #96A02E #2EA038
monochromatic
#2E1341 #4F2070 #712EA0 #9142C9 #AD72D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712EA0#FFFFFF#000000##FFFFFF
##712EA01.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)
#004EA3
Deuteranopia (green-blind)
#0D519E
Tritanopia (blue-blind)
#694864
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ea0;
/* rgb */ color: rgb(113, 46, 160);
/* oklch */ color: oklch(45.3% 0.177 307.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dbd',
    500: '#712ea0',
    950: '#000000',
  },
}
SCSS
$custom: #712ea0;
$custom-light: #9e6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea0",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 275.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.17744,
    "h": 307.6
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#712EA0
secondary
#8EBE6C
accent
#DF4987
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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