#712EB3#712EB3

#712EB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.197 H 302.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#712EB3
RGBrgb(113, 46, 179)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(36.9%, 74.3%, 0%, 29.8%)
CIE-LABlab(35.44, 53.91, -58.60)
CIE-LCHlch(35.44, 79.62, 312.62°)
OKLaboklab(46.76% 0.1049 -0.1671)
OKLCHoklch(46.76% 0.197 302.1)
XYZxyz(15.9218, 8.7193, 43.4833)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB3 #70B32E
analogous
#2F2EB3 #712EB3 #B32EB3
triadic
#712EB3 #B3712E #2EB371
tetradic
#712EB3 #B32F2E #70B32E #2EB3B3
square
#712EB3 #B32F2E #70B32E #2EB3B3
split-complementary
#712EB3 #B3B32E #2EB32F
monochromatic
#341552 #522182 #712EB3 #904DD1 #AE7EDE

Accessibility & contrast

On white

7.65
#712EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#712EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB3#FFFFFF#000000##FFFFFF
##712EB31.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#634F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712eb3;
/* rgb */ color: rgb(113, 46, 179);
/* oklch */ color: oklch(46.8% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#a06dcb',
    500: '#712eb3',
    950: '#000000',
  },
}
SCSS
$custom: #712eb3;
$custom-light: #a06dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb3",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 270.226,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.19728,
    "h": 302.1
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#712EB3
secondary
#9EC676
accent
#E24693
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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