#711CB4#711CB4

#711CB4 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.2% C 0.215 H 303.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#711CB4
RGBrgb(113, 28, 180)
HSLhsl(274, 73%, 41%)
HSVhsv(274, 84%, 71%)
CMYKcmyk(37.2%, 84.4%, 0%, 29.4%)
CIE-LABlab(33.21, 60.82, -62.82)
CIE-LCHlch(33.21, 87.44, 314.07°)
OKLaboklab(45.24% 0.1187 -0.1794)
OKLCHoklch(45.24% 0.215 303.5)
XYZxyz(15.4616, 7.6365, 43.8306)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711CB4 #5FB41C
analogous
#251CB4 #711CB4 #B41CAB
triadic
#711CB4 #B4711C #1CB471
tetradic
#711CB4 #B4251C #5FB41C #1CABB4
square
#711CB4 #B4251C #5FB41C #1CABB4
split-complementary
#711CB4 #ABB41C #1CB425
monochromatic
#2F0C4A #50147F #711CB4 #912FDF #AD64E7

Accessibility & contrast

On white

8.31
#711CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#711CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711CB4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711CB4#FFFFFF#000000##FFFFFF
##711CB41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#63486B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #711cb4;
/* rgb */ color: rgb(113, 28, 180);
/* oklch */ color: oklch(45.2% 0.215 303.5);
Tailwind
colors: {
  custom: {
    50: '#a165cc',
    500: '#711cb4',
    950: '#000000',
  },
}
SCSS
$custom: #711cb4;
$custom-light: #a165cc;
$custom-dark: #000000;
JSON
{
  "hex": "#711cb4",
  "rgb": {
    "r": 113,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 273.553,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.21509,
    "h": 303.5
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#711CB4
secondary
#90CC60
accent
#F03889
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #711CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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