#712BA6#712BA6

#712BA6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.187 H 306.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#712BA6
RGBrgb(113, 43, 166)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 74%, 65%)
CMYKcmyk(31.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(33.97, 52.14, -53.22)
CIE-LCHlch(33.97, 74.50, 314.41°)
OKLaboklab(45.41% 0.1104 -0.1513)
OKLCHoklch(45.41% 0.187 306.1)
XYZxyz(14.5554, 7.9918, 36.8448)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA6 #60A62B
analogous
#332BA6 #712BA6 #A62B9D
triadic
#712BA6 #A6712B #2BA671
tetradic
#712BA6 #A6332B #60A62B #2B9DA6
square
#712BA6 #A6332B #60A62B #2B9DA6
split-complementary
#712BA6 #9DA62B #2BA633
monochromatic
#2F1245 #501E75 #712BA6 #9141CE #AD71DA

Accessibility & contrast

On white

8.08
#712BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA6#FFFFFF#000000##FFFFFF
##712BA61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#684966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ba6;
/* rgb */ color: rgb(113, 43, 166);
/* oklch */ color: oklch(45.4% 0.187 306.1);
Tailwind
colors: {
  custom: {
    50: '#9f6bc1',
    500: '#712ba6',
    950: '#000000',
  },
}
SCSS
$custom: #712ba6;
$custom-light: #9f6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba6",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 274.146,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.18726,
    "h": 306.1
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#712BA6
secondary
#90C16B
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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