#712BB6#712BB6

#712BB6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.204 H 301.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#712BB6
RGBrgb(113, 43, 182)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(37.9%, 76.4%, 0%, 28.6%)
CIE-LABlab(35.23, 55.90, -60.71)
CIE-LCHlch(35.23, 82.53, 312.64°)
OKLaboklab(46.7% 0.1069 -0.1733)
OKLCHoklch(46.7% 0.204 301.7)
XYZxyz(16.1154, 8.6158, 45.0609)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB6 #70B62B
analogous
#2C2BB6 #712BB6 #B62BB6
triadic
#712BB6 #B6712B #2BB671
tetradic
#712BB6 #B62C2B #70B62B #2BB6B6
square
#712BB6 #B62C2B #70B62B #2BB6B6
split-complementary
#712BB6 #B6B62B #2BB62C
monochromatic
#341453 #521F84 #712BB6 #904AD4 #AE7BE0

Accessibility & contrast

On white

7.71
#712BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#712BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB6#FFFFFF#000000##FFFFFF
##712BB61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#624F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712bb6;
/* rgb */ color: rgb(113, 43, 182);
/* oklch */ color: oklch(46.7% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#a06ccd',
    500: '#712bb6',
    950: '#000000',
  },
}
SCSS
$custom: #712bb6;
$custom-light: #a06ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb6",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 270.216,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.20359,
    "h": 301.7
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#712BB6
secondary
#9EC875
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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