#712FB6#712FB6

#712FB6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.199 H 301.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#712FB6
RGBrgb(113, 47, 182)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 71%)
CMYKcmyk(37.9%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.83, 54.20, -59.73)
CIE-LCHlch(35.83, 80.66, 312.22°)
OKLaboklab(47.12% 0.1033 -0.1704)
OKLCHoklch(47.12% 0.199 301.2)
XYZxyz(16.2680, 8.9210, 45.1118)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB6 #74B62F
analogous
#2F31B6 #712FB6 #B42FB6
triadic
#712FB6 #B6712F #2FB671
tetradic
#712FB6 #B62F31 #74B62F #2FB6B4
square
#712FB6 #B62F31 #74B62F #2FB6B4
split-complementary
#712FB6 #B6B42F #31B62F
monochromatic
#351655 #532285 #712FB6 #9050D2 #AF81DE

Accessibility & contrast

On white

7.54
#712FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#712FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB6#FFFFFF#000000##FFFFFF
##712FB61.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#625170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712fb6;
/* rgb */ color: rgb(113, 47, 182);
/* oklch */ color: oklch(47.1% 0.199 301.2);
Tailwind
colors: {
  custom: {
    50: '#a06ecd',
    500: '#712fb6',
    950: '#000000',
  },
}
SCSS
$custom: #712fb6;
$custom-light: #a06ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb6",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 269.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.1993,
    "h": 301.2
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#712FB6
secondary
#A1C779
accent
#E24696
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #712FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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