#712AA8#712AA8

#712AA8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.190 H 305.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#712AA8
RGBrgb(113, 42, 168)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 66%)
CMYKcmyk(32.7%, 75%, 0%, 34.1%)
CIE-LABlab(33.97, 53.03, -54.42)
CIE-LCHlch(33.97, 75.98, 314.26°)
OKLaboklab(45.46% 0.1109 -0.1548)
OKLCHoklch(45.46% 0.19 305.6)
XYZxyz(14.7043, 7.9939, 37.8065)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA8 #61A82A
analogous
#322AA8 #712AA8 #A82AA0
triadic
#712AA8 #A8712A #2AA871
tetradic
#712AA8 #A8322A #61A82A #2AA0A8
square
#712AA8 #A8322A #61A82A #2AA0A8
split-complementary
#712AA8 #A0A82A #2AA832
monochromatic
#2F1246 #501E77 #712AA8 #9140CF #AD71DB

Accessibility & contrast

On white

8.08
#712AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AA8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA8#FFFFFF#000000##FFFFFF
##712AA81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#674967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712aa8;
/* rgb */ color: rgb(113, 42, 168);
/* oklch */ color: oklch(45.5% 0.190 305.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bc3',
    500: '#712aa8',
    950: '#000000',
  },
}
SCSS
$custom: #712aa8;
$custom-light: #9f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa8",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 273.81,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.19043,
    "h": 305.6
  },
  "luminance": 0.07994
}

Semantic roles & 50–950 ramp

primary
#712AA8
secondary
#91C36B
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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