#712FB4#712FB4

#712FB4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.197 H 301.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#712FB4
RGBrgb(113, 47, 180)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(37.2%, 73.9%, 0%, 29.4%)
CIE-LABlab(35.67, 53.71, -58.81)
CIE-LCHlch(35.67, 79.64, 312.41°)
OKLaboklab(46.95% 0.1037 -0.1677)
OKLCHoklch(46.95% 0.197 301.7)
XYZxyz(16.0628, 8.8390, 44.0310)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB4 #72B42F
analogous
#2F30B4 #712FB4 #B32FB4
triadic
#712FB4 #B4712F #2FB471
tetradic
#712FB4 #B42F30 #72B42F #2FB4B3
square
#712FB4 #B42F30 #72B42F #2FB4B3
split-complementary
#712FB4 #B4B32F #30B42F
monochromatic
#341653 #532283 #712FB4 #904FD1 #AE80DE

Accessibility & contrast

On white

7.59
#712FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#712FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB4#FFFFFF#000000##FFFFFF
##712FB41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.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: #712fb4;
/* rgb */ color: rgb(113, 47, 180);
/* oklch */ color: oklch(47.0% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#a06ecb',
    500: '#712fb4',
    950: '#000000',
  },
}
SCSS
$custom: #712fb4;
$custom-light: #a06ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb4",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 269.774,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.19721,
    "h": 301.7
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#712FB4
secondary
#A0C778
accent
#E24694
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #712FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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