#712CA3#712CA3

#712CA3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.183 H 306.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#712CA3
RGBrgb(113, 44, 163)
HSLhsl(275, 57%, 41%)
HSVhsv(275, 73%, 64%)
CMYKcmyk(30.7%, 73%, 0%, 36.1%)
CIE-LABlab(33.89, 51.00, -51.53)
CIE-LCHlch(33.89, 72.51, 314.70°)
OKLaboklab(45.28% 0.1099 -0.1463)
OKLCHoklch(45.28% 0.183 306.9)
XYZxyz(14.3202, 7.9566, 35.4246)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA3 #5EA32C
analogous
#352CA3 #712CA3 #A32C99
triadic
#712CA3 #A3712C #2CA371
tetradic
#712CA3 #A3352C #5EA32C #2C99A3
square
#712CA3 #A3352C #5EA32C #2C99A3
split-complementary
#712CA3 #99A32C #2CA335
monochromatic
#2E1243 #501F73 #712CA3 #9141CC #AD71D9

Accessibility & contrast

On white

8.10
#712CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#712CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA3#FFFFFF#000000##FFFFFF
##712CA31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#694865
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ca3;
/* rgb */ color: rgb(113, 44, 163);
/* oklch */ color: oklch(45.3% 0.183 306.9);
Tailwind
colors: {
  custom: {
    50: '#9e6cbf',
    500: '#712ca3',
    950: '#000000',
  },
}
SCSS
$custom: #712ca3;
$custom-light: #9e6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca3",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 274.79,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45283,
    "c": 0.18301,
    "h": 306.9
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#712CA3
secondary
#8FC06B
accent
#E14788
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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