#712CA0#712CA0

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

Color values

HEX#712CA0
RGBrgb(113, 44, 160)
HSLhsl(276, 57%, 40%)
HSVhsv(276, 73%, 63%)
CMYKcmyk(29.4%, 72.5%, 0%, 37.3%)
CIE-LABlab(33.67, 50.31, -50.08)
CIE-LCHlch(33.67, 70.99, 315.13°)
OKLaboklab(45.05% 0.1104 -0.1421)
OKLCHoklch(45.05% 0.18 307.9)
XYZxyz(14.0546, 7.8503, 34.0258)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA0 #5BA02C
analogous
#372CA0 #712CA0 #A02C95
triadic
#712CA0 #A0712C #2CA071
tetradic
#712CA0 #A0372C #5BA02C #2C95A0
square
#712CA0 #A0372C #5BA02C #2C95A0
split-complementary
#712CA0 #95A02C #2CA037
monochromatic
#2D1240 #4F1F70 #712CA0 #923FCA #AD6FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712CA0#FFFFFF#000000##FFFFFF
##712CA01.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)
#004DA3
Deuteranopia (green-blind)
#07509E
Tritanopia (blue-blind)
#694763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712ca0;
/* rgb */ color: rgb(113, 44, 160);
/* oklch */ color: oklch(45.1% 0.180 307.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bbd',
    500: '#712ca0',
    950: '#000000',
  },
}
SCSS
$custom: #712ca0;
$custom-light: #9e6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca0",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 275.69,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.17992,
    "h": 307.9
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#712CA0
secondary
#8CBF69
accent
#E04885
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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