#711AB3#711AB3

#711AB3 is a mid, highly saturated violet. Relative luminance 0.075; OKLCH L 45.0% C 0.216 H 303.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#711AB3
RGBrgb(113, 26, 179)
HSLhsl(274, 75%, 40%)
HSVhsv(274, 85%, 70%)
CMYKcmyk(36.9%, 85.5%, 0%, 29.8%)
CIE-LABlab(32.93, 61.18, -62.69)
CIE-LCHlch(32.93, 87.60, 314.30°)
OKLaboklab(45.01% 0.1202 -0.179)
OKLCHoklch(45.01% 0.216 303.9)
XYZxyz(15.3142, 7.5042, 43.2807)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711AB3 #5CB31A
analogous
#251AB3 #711AB3 #B31AA8
triadic
#711AB3 #B3711A #1AB371
tetradic
#711AB3 #B3251A #5CB31A #1AA8B3
square
#711AB3 #B3251A #5CB31A #1AA8B3
split-complementary
#711AB3 #A8B31A #1AB325
monochromatic
#2E0A48 #4F127E #711AB3 #922AE0 #AD60E8

Accessibility & contrast

On white

8.40
#711AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#711AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711AB3
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711AB3#FFFFFF#000000##FFFFFF
##711AB31.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#63476A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #711ab3;
/* rgb */ color: rgb(113, 26, 179);
/* oklch */ color: oklch(45.0% 0.216 303.9);
Tailwind
colors: {
  custom: {
    50: '#a165cb',
    500: '#711ab3',
    950: '#000000',
  },
}
SCSS
$custom: #711ab3;
$custom-light: #a165cb;
$custom-dark: #000000;
JSON
{
  "hex": "#711ab3",
  "rgb": {
    "r": 113,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 274.118,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.21563,
    "h": 303.9
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#711AB3
secondary
#8DCC5D
accent
#F13787
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #711AB3

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

Preview Lab → · Contrast checker → · Palette generator →

#711AB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva