#712BA9#712BA9

#712BA9 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.190 H 305.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#712BA9
RGBrgb(113, 43, 169)
HSLhsl(273, 59%, 42%)
HSVhsv(273, 75%, 66%)
CMYKcmyk(33.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(34.20, 52.83, -54.65)
CIE-LCHlch(34.20, 76.01, 314.03°)
OKLaboklab(45.64% 0.1098 -0.1555)
OKLCHoklch(45.64% 0.19 305.2)
XYZxyz(14.8338, 8.1031, 38.3110)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA9 #63A92B
analogous
#322BA9 #712BA9 #A92BA2
triadic
#712BA9 #A9712B #2BA971
tetradic
#712BA9 #A9322B #63A92B #2BA2A9
square
#712BA9 #A9322B #63A92B #2BA2A9
split-complementary
#712BA9 #A2A92B #2BA932
monochromatic
#301247 #501F78 #712BA9 #9042CF #AD73DB

Accessibility & contrast

On white

8.01
#712BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#712BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA9#FFFFFF#000000##FFFFFF
##712BA91.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#674A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ba9;
/* rgb */ color: rgb(113, 43, 169);
/* oklch */ color: oklch(45.6% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#9f6bc3',
    500: '#712ba9',
    950: '#000000',
  },
}
SCSS
$custom: #712ba9;
$custom-light: #9f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba9",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 273.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.19033,
    "h": 305.2
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#712BA9
secondary
#93C36D
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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