#712EA3#712EA3

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

Color values

HEX#712EA3
RGBrgb(113, 46, 163)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(30.7%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.21, 50.11, -51.02)
CIE-LCHlch(34.21, 71.51, 314.48°)
OKLaboklab(45.51% 0.1079 -0.1448)
OKLCHoklch(45.51% 0.181 306.7)
XYZxyz(14.3965, 8.1092, 35.4500)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EA3 #60A32E
analogous
#362EA3 #712EA3 #A32E9A
triadic
#712EA3 #A3712E #2EA371
tetradic
#712EA3 #A3362E #60A32E #2E9AA3
square
#712EA3 #A3362E #60A32E #2E9AA3
split-complementary
#712EA3 #9AA32E #2EA336
monochromatic
#2F1344 #502173 #712EA3 #9144CA #AD74D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712EA3#FFFFFF#000000##FFFFFF
##712EA31.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)
#004EA6
Deuteranopia (green-blind)
#0251A1
Tritanopia (blue-blind)
#684965
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ea3;
/* rgb */ color: rgb(113, 46, 163);
/* oklch */ color: oklch(45.5% 0.181 306.7);
Tailwind
colors: {
  custom: {
    50: '#9e6dbf',
    500: '#712ea3',
    950: '#000000',
  },
}
SCSS
$custom: #712ea3;
$custom-light: #9e6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#712ea3",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 274.359,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.18058,
    "h": 306.7
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#712EA3
secondary
#90BF6D
accent
#DF4989
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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