#712EB2#712EB2

#712EB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.196 H 302.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#712EB2
RGBrgb(113, 46, 178)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(36.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(35.36, 53.67, -58.13)
CIE-LCHlch(35.36, 79.12, 312.71°)
OKLaboklab(46.68% 0.1051 -0.1657)
OKLCHoklch(46.68% 0.196 302.4)
XYZxyz(15.8210, 8.6790, 42.9526)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB2 #6FB22E
analogous
#2F2EB2 #712EB2 #B22EB1
triadic
#712EB2 #B2712E #2EB271
tetradic
#712EB2 #B22F2E #6FB22E #2EB1B2
square
#712EB2 #B22F2E #6FB22E #2EB1B2
split-complementary
#712EB2 #B1B22E #2EB22F
monochromatic
#331551 #522181 #712EB2 #904CD1 #AE7DDD

Accessibility & contrast

On white

7.68
#712EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#712EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB2#FFFFFF#000000##FFFFFF
##712EB21.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#634F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712eb2;
/* rgb */ color: rgb(113, 46, 178);
/* oklch */ color: oklch(46.7% 0.196 302.4);
Tailwind
colors: {
  custom: {
    50: '#a06dca',
    500: '#712eb2',
    950: '#000000',
  },
}
SCSS
$custom: #712eb2;
$custom-light: #a06dca;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb2",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 270.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.19624,
    "h": 302.4
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#712EB2
secondary
#9DC676
accent
#E24693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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