#712BB1#712BB1

#712BB1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.199 H 303.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#712BB1
RGBrgb(113, 43, 177)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(36.2%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.83, 54.72, -58.40)
CIE-LCHlch(34.83, 80.03, 313.13°)
OKLaboklab(46.28% 0.1081 -0.1665)
OKLCHoklch(46.28% 0.199 303)
XYZxyz(15.6079, 8.4128, 42.3880)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB1 #6BB12B
analogous
#2E2BB1 #712BB1 #B12BAE
triadic
#712BB1 #B1712B #2BB171
tetradic
#712BB1 #B12E2B #6BB12B #2BAEB1
square
#712BB1 #B12E2B #6BB12B #2BAEB1
split-complementary
#712BB1 #AEB12B #2BB12E
monochromatic
#32134F #521F80 #712BB1 #9047D2 #AD78DE

Accessibility & contrast

On white

7.83
#712BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#712BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB1#FFFFFF#000000##FFFFFF
##712BB11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#644D6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712bb1;
/* rgb */ color: rgb(113, 43, 177);
/* oklch */ color: oklch(46.3% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#a06cc9',
    500: '#712bb1',
    950: '#000000',
  },
}
SCSS
$custom: #712bb1;
$custom-light: #a06cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb1",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 271.343,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46284,
    "c": 0.1985,
    "h": 303
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#712BB1
secondary
#9AC672
accent
#E44490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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