#712BA5#712BA5

#712BA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.186 H 306.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#712BA5
RGBrgb(113, 43, 165)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 74%, 65%)
CMYKcmyk(31.5%, 73.9%, 0%, 35.3%)
CIE-LABlab(33.89, 51.90, -52.74)
CIE-LCHlch(33.89, 74.00, 314.54°)
OKLaboklab(45.33% 0.1106 -0.1499)
OKLCHoklch(45.33% 0.186 306.4)
XYZxyz(14.4640, 7.9552, 36.3635)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA5 #5FA52B
analogous
#342BA5 #712BA5 #A52B9C
triadic
#712BA5 #A5712B #2BA571
tetradic
#712BA5 #A5342B #5FA52B #2B9CA5
square
#712BA5 #A5342B #5FA52B #2B9CA5
split-complementary
#712BA5 #9CA52B #2BA534
monochromatic
#2F1244 #501E74 #712BA5 #9140CD #AD71DA

Accessibility & contrast

On white

8.10
#712BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#712BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA5#FFFFFF#000000##FFFFFF
##712BA51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#684866
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ba5;
/* rgb */ color: rgb(113, 43, 165);
/* oklch */ color: oklch(45.3% 0.186 306.4);
Tailwind
colors: {
  custom: {
    50: '#9f6bc0',
    500: '#712ba5',
    950: '#000000',
  },
}
SCSS
$custom: #712ba5;
$custom-light: #9f6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba5",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 274.426,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.18624,
    "h": 306.4
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#712BA5
secondary
#90C16B
accent
#E24688
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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