#712EB8#712EB8

#712EB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.202 H 300.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#712EB8
RGBrgb(113, 46, 184)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(38.6%, 75%, 0%, 27.8%)
CIE-LABlab(35.84, 55.12, -60.90)
CIE-LCHlch(35.84, 82.14, 312.15°)
OKLaboklab(47.17% 0.1037 -0.1739)
OKLCHoklch(47.17% 0.202 300.8)
XYZxyz(16.4366, 8.9253, 46.1949)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EB8 #75B82E
analogous
#2E30B8 #712EB8 #B62EB8
triadic
#712EB8 #B8712E #2EB871
tetradic
#712EB8 #B82E30 #75B82E #2EB8B6
square
#712EB8 #B82E30 #75B82E #2EB8B6
split-complementary
#712EB8 #B8B62E #30B82E
monochromatic
#351656 #532287 #712EB8 #9050D3 #AF81DF

Accessibility & contrast

On white

7.54
#712EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#712EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712EB8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EB8#FFFFFF#000000##FFFFFF
##712EB81.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#615171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712eb8;
/* rgb */ color: rgb(113, 46, 184);
/* oklch */ color: oklch(47.2% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#a06ece',
    500: '#712eb8',
    950: '#000000',
  },
}
SCSS
$custom: #712eb8;
$custom-light: #a06ece;
$custom-dark: #000000;
JSON
{
  "hex": "#712eb8",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 269.13,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.20248,
    "h": 300.8
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#712EB8
secondary
#A2C879
accent
#E34596
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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