#712CB4#712CB4

#712CB4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.200 H 302.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#712CB4
RGBrgb(113, 44, 180)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(37.2%, 75.6%, 0%, 29.4%)
CIE-LABlab(35.22, 55.01, -59.55)
CIE-LCHlch(35.22, 81.07, 312.73°)
OKLaboklab(46.63% 0.1065 -0.1699)
OKLCHoklch(46.63% 0.2 302.1)
XYZxyz(15.9470, 8.6073, 43.9924)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CB4 #6FB42C
analogous
#2D2CB4 #712CB4 #B42CB3
triadic
#712CB4 #B4712C #2CB471
tetradic
#712CB4 #B42D2C #6FB42C #2CB3B4
square
#712CB4 #B42D2C #6FB42C #2CB3B4
split-complementary
#712CB4 #B3B42C #2CB42D
monochromatic
#331452 #522083 #712CB4 #904AD3 #AE7CDF

Accessibility & contrast

On white

7.72
#712CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#712CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CB4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CB4#FFFFFF#000000##FFFFFF
##712CB41.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#634F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712cb4;
/* rgb */ color: rgb(113, 44, 180);
/* oklch */ color: oklch(46.6% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#a06ccb',
    500: '#712cb4',
    950: '#000000',
  },
}
SCSS
$custom: #712cb4;
$custom-light: #a06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#712cb4",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 270.441,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.20049,
    "h": 302.1
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#712CB4
secondary
#9DC775
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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