#712EB4#712EB4

#712EB4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.198 H 301.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#712EB4
RGBrgb(113, 46, 180)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(37.2%, 74.4%, 0%, 29.4%)
CIE-LABlab(35.52, 54.15, -59.06)
CIE-LCHlch(35.52, 80.13, 312.52°)
OKLaboklab(46.85% 0.1047 -0.1685)
OKLCHoklch(46.85% 0.198 301.8)
XYZxyz(16.0233, 8.7599, 44.0178)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB4 #71B42E
analogous
#2E2EB4 #712EB4 #B42EB4
triadic
#712EB4 #B4712E #2EB471
tetradic
#712EB4 #B42E2E #71B42E #2EB4B4
square
#712EB4 #B42E2E #71B42E #2EB4B4
split-complementary
#712EB4 #B4B42E #2EB42E
monochromatic
#341553 #522283 #712EB4 #904ED2 #AE7EDE

Accessibility & contrast

On white

7.63
#712EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#712EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB4#FFFFFF#000000##FFFFFF
##712EB41.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#63506F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712eb4;
/* rgb */ color: rgb(113, 46, 180);
/* oklch */ color: oklch(46.8% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#a06dcb',
    500: '#712eb4',
    950: '#000000',
  },
}
SCSS
$custom: #712eb4;
$custom-light: #a06dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb4",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.19832,
    "h": 301.8
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#712EB4
secondary
#9FC777
accent
#E24594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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