#712BB4#712BB4

#712BB4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.202 H 302.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#712BB4
RGBrgb(113, 43, 180)
HSLhsl(271, 61%, 44%)
HSVhsv(271, 76%, 71%)
CMYKcmyk(37.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(35.07, 55.43, -59.79)
CIE-LCHlch(35.07, 81.53, 312.83°)
OKLaboklab(46.53% 0.1074 -0.1706)
OKLCHoklch(46.53% 0.202 302.2)
XYZxyz(15.9102, 8.5337, 43.9801)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB4 #6EB42B
analogous
#2C2BB4 #712BB4 #B42BB2
triadic
#712BB4 #B4712B #2BB471
tetradic
#712BB4 #B42C2B #6EB42B #2BB2B4
square
#712BB4 #B42C2B #6EB42B #2BB2B4
split-complementary
#712BB4 #B2B42B #2BB42C
monochromatic
#331351 #521F83 #712BB4 #9049D3 #AE7ADF

Accessibility & contrast

On white

7.76
#712BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#712BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB4#FFFFFF#000000##FFFFFF
##712BB41.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#634E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712bb4;
/* rgb */ color: rgb(113, 43, 180);
/* oklch */ color: oklch(46.5% 0.202 302.2);
Tailwind
colors: {
  custom: {
    50: '#a06ccb',
    500: '#712bb4',
    950: '#000000',
  },
}
SCSS
$custom: #712bb4;
$custom-light: #a06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb4",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 270.657,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.20155,
    "h": 302.2
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#712BB4
secondary
#9CC773
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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