#712BA2#712BA2

#712BA2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 307.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#712BA2
RGBrgb(113, 43, 162)
HSLhsl(275, 58%, 40%)
HSVhsv(275, 73%, 64%)
CMYKcmyk(30.2%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.66, 51.21, -51.30)
CIE-LCHlch(33.66, 72.49, 314.95°)
OKLaboklab(45.1% 0.1111 -0.1456)
OKLCHoklch(45.1% 0.183 307.3)
XYZxyz(14.1941, 7.8473, 34.9423)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA2 #5CA22B
analogous
#352BA2 #712BA2 #A22B98
triadic
#712BA2 #A2712B #2BA271
tetradic
#712BA2 #A2352B #5CA22B #2B98A2
square
#712BA2 #A2352B #5CA22B #2B98A2
split-complementary
#712BA2 #98A22B #2BA235
monochromatic
#2E1141 #4F1E72 #712BA2 #923ECC #AD6FD9

Accessibility & contrast

On white

8.17
#712BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#712BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA2#FFFFFF#000000##FFFFFF
##712BA21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#694764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712ba2;
/* rgb */ color: rgb(113, 43, 162);
/* oklch */ color: oklch(45.1% 0.183 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bbe',
    500: '#712ba2',
    950: '#000000',
  },
}
SCSS
$custom: #712ba2;
$custom-light: #9e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba2",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 275.294,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.18317,
    "h": 307.3
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#712BA2
secondary
#8DC069
accent
#E14786
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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