#712BB5#712BB5

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

Color values

HEX#712BB5
RGBrgb(113, 43, 181)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(37.6%, 76.2%, 0%, 29%)
CIE-LABlab(35.15, 55.67, -60.25)
CIE-LCHlch(35.15, 82.03, 312.74°)
OKLaboklab(46.61% 0.1071 -0.1719)
OKLCHoklch(46.61% 0.203 301.9)
XYZxyz(16.0124, 8.5746, 44.5186)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB5 #6FB52B
analogous
#2C2BB5 #712BB5 #B52BB4
triadic
#712BB5 #B5712B #2BB571
tetradic
#712BB5 #B52C2B #6FB52B #2BB4B5
square
#712BB5 #B52C2B #6FB52B #2BB4B5
split-complementary
#712BB5 #B4B52B #2BB52C
monochromatic
#331452 #521F84 #712BB5 #9049D4 #AE7BE0

Accessibility & contrast

On white

7.73
#712BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712BB5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB5#FFFFFF#000000##FFFFFF
##712BB51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#624F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712bb5;
/* rgb */ color: rgb(113, 43, 181);
/* oklch */ color: oklch(46.6% 0.203 301.9);
Tailwind
colors: {
  custom: {
    50: '#a06ccc',
    500: '#712bb5',
    950: '#000000',
  },
}
SCSS
$custom: #712bb5;
$custom-light: #a06ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb5",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 270.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.20257,
    "h": 301.9
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#712BB5
secondary
#9DC874
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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