#712AA2#712AA2

#712AA2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.184 H 307.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#712AA2
RGBrgb(113, 42, 162)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 64%)
CMYKcmyk(30.2%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.51, 51.64, -51.55)
CIE-LCHlch(33.51, 72.97, 315.05°)
OKLaboklab(44.99% 0.1121 -0.1464)
OKLCHoklch(44.99% 0.184 307.4)
XYZxyz(14.1582, 7.7755, 34.9304)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712AA2 #5BA22A
analogous
#352AA2 #712AA2 #A22A97
triadic
#712AA2 #A2712A #2AA271
tetradic
#712AA2 #A2352A #5BA22A #2A97A2
square
#712AA2 #A2352A #5BA22A #2A97A2
split-complementary
#712AA2 #97A22A #2AA235
monochromatic
#2D1141 #4F1D71 #712AA2 #923DCD #AD6DD9

Accessibility & contrast

On white

8.22
#712AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#712AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712AA2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712AA2#FFFFFF#000000##FFFFFF
##712AA21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#694664
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712aa2;
/* rgb */ color: rgb(113, 42, 162);
/* oklch */ color: oklch(45.0% 0.184 307.4);
Tailwind
colors: {
  custom: {
    50: '#9e6bbe',
    500: '#712aa2',
    950: '#000000',
  },
}
SCSS
$custom: #712aa2;
$custom-light: #9e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712aa2",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 275.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.18435,
    "h": 307.4
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#712AA2
secondary
#8CC068
accent
#E24686
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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