#712CA1#712CA1

#712CA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.181 H 307.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#712CA1
RGBrgb(113, 44, 161)
HSLhsl(275, 57%, 40%)
HSVhsv(275, 73%, 63%)
CMYKcmyk(29.8%, 72.7%, 0%, 36.9%)
CIE-LABlab(33.74, 50.54, -50.57)
CIE-LCHlch(33.74, 71.49, 314.98°)
OKLaboklab(45.13% 0.1102 -0.1435)
OKLCHoklch(45.13% 0.181 307.5)
XYZxyz(14.1424, 7.8855, 34.4883)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA1 #5CA12C
analogous
#372CA1 #712CA1 #A12C96
triadic
#712CA1 #A1712C #2CA171
tetradic
#712CA1 #A1372C #5CA12C #2C96A1
square
#712CA1 #A1372C #5CA12C #2C96A1
split-complementary
#712CA1 #96A12C #2CA137
monochromatic
#2E1241 #4F1F71 #712CA1 #9240CB #AD70D8

Accessibility & contrast

On white

8.15
#712CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712CA1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA1#FFFFFF#000000##FFFFFF
##712CA11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#04509F
Tritanopia (blue-blind)
#694764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712ca1;
/* rgb */ color: rgb(113, 44, 161);
/* oklch */ color: oklch(45.1% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cbe',
    500: '#712ca1',
    950: '#000000',
  },
}
SCSS
$custom: #712ca1;
$custom-light: #9e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca1",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 275.385,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.18095,
    "h": 307.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#712CA1
secondary
#8DBF6A
accent
#E04786
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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