#712CA2#712CA2

#712CA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 307.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#712CA2
RGBrgb(113, 44, 162)
HSLhsl(275, 57%, 40%)
HSVhsv(275, 73%, 64%)
CMYKcmyk(30.2%, 72.8%, 0%, 36.5%)
CIE-LABlab(33.82, 50.77, -51.05)
CIE-LCHlch(33.82, 72.00, 314.84°)
OKLaboklab(45.21% 0.1101 -0.1449)
OKLCHoklch(45.21% 0.182 307.2)
XYZxyz(14.2309, 7.9209, 34.9546)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA2 #5DA22C
analogous
#362CA2 #712CA2 #A22C98
triadic
#712CA2 #A2712C #2CA271
tetradic
#712CA2 #A2362C #5DA22C #2C98A2
square
#712CA2 #A2362C #5DA22C #2C98A2
split-complementary
#712CA2 #98A22C #2CA236
monochromatic
#2E1242 #4F1F72 #712CA2 #9140CB #AD70D8

Accessibility & contrast

On white

8.13
#712CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#712CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA2#FFFFFF#000000##FFFFFF
##712CA21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712ca2;
/* rgb */ color: rgb(113, 44, 162);
/* oklch */ color: oklch(45.2% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#9e6cbe',
    500: '#712ca2',
    950: '#000000',
  },
}
SCSS
$custom: #712ca2;
$custom-light: #9e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca2",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 275.085,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.18198,
    "h": 307.2
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#712CA2
secondary
#8EBF6A
accent
#E14787
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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