#712AA7#712AA7

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

Color values

HEX#712AA7
RGBrgb(113, 42, 167)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.3%, 74.9%, 0%, 34.5%)
CIE-LABlab(33.89, 52.79, -53.94)
CIE-LCHlch(33.89, 75.48, 314.38°)
OKLaboklab(45.38% 0.1111 -0.1534)
OKLCHoklch(45.38% 0.189 305.9)
XYZxyz(14.6115, 7.9568, 37.3178)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA7 #60A72A
analogous
#322AA7 #712AA7 #A72A9E
triadic
#712AA7 #A7712A #2AA771
tetradic
#712AA7 #A7322A #60A72A #2A9EA7
square
#712AA7 #A7322A #60A72A #2A9EA7
split-complementary
#712AA7 #9EA72A #2AA732
monochromatic
#2F1145 #501E76 #712AA7 #913FCF #AD70DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712AA7#FFFFFF#000000##FFFFFF
##712AA71.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)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#674866
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712aa7;
/* rgb */ color: rgb(113, 42, 167);
/* oklch */ color: oklch(45.4% 0.189 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bc2',
    500: '#712aa7',
    950: '#000000',
  },
}
SCSS
$custom: #712aa7;
$custom-light: #9f6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa7",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 274.08,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.18942,
    "h": 305.9
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#712AA7
secondary
#90C26B
accent
#E34589
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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