#712EB0#712EB0

#712EB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.194 H 302.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#712EB0
RGBrgb(113, 46, 176)
HSLhsl(271, 59%, 44%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(35.8%, 73.9%, 0%, 31%)
CIE-LABlab(35.20, 53.19, -57.20)
CIE-LCHlch(35.20, 78.11, 312.92°)
OKLaboklab(46.52% 0.1055 -0.163)
OKLCHoklch(46.52% 0.194 302.9)
XYZxyz(15.6217, 8.5993, 41.9027)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB0 #6DB02E
analogous
#302EB0 #712EB0 #B02EAE
triadic
#712EB0 #B0712E #2EB071
tetradic
#712EB0 #B0302E #6DB02E #2EAEB0
square
#712EB0 #B0302E #6DB02E #2EAEB0
split-complementary
#712EB0 #AEB02E #2EB030
monochromatic
#33154F #52217F #712EB0 #904BD0 #AE7CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712EB0#FFFFFF#000000##FFFFFF
##712EB01.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)
#0052B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#644E6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712eb0;
/* rgb */ color: rgb(113, 46, 176);
/* oklch */ color: oklch(46.5% 0.194 302.9);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#712eb0',
    950: '#000000',
  },
}
SCSS
$custom: #712eb0;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb0",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 270.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.19415,
    "h": 302.9
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#712EB0
secondary
#9CC575
accent
#E24692
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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