#712FB1#712FB1

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

Color values

HEX#712FB1
RGBrgb(113, 47, 177)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.2%, 73.4%, 0%, 30.6%)
CIE-LABlab(35.44, 52.99, -57.41)
CIE-LCHlch(35.44, 78.13, 312.71°)
OKLaboklab(46.71% 0.1043 -0.1636)
OKLCHoklch(46.71% 0.194 302.5)
XYZxyz(15.7605, 8.7180, 42.4389)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB1 #6FB12F
analogous
#302FB1 #712FB1 #B12FB0
triadic
#712FB1 #B1712F #2FB171
tetradic
#712FB1 #B1302F #6FB12F #2FB0B1
square
#712FB1 #B1302F #6FB12F #2FB0B1
split-complementary
#712FB1 #B0B12F #2FB130
monochromatic
#331550 #522281 #712FB1 #904DD0 #AE7EDD

Accessibility & contrast

On white

7.65
#712FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712FB1
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB1#FFFFFF#000000##FFFFFF
##712FB11.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#644F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712fb1;
/* rgb */ color: rgb(113, 47, 177);
/* oklch */ color: oklch(46.7% 0.194 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ec9',
    500: '#712fb1',
    950: '#000000',
  },
}
SCSS
$custom: #712fb1;
$custom-light: #9f6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb1",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 270.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.19407,
    "h": 302.5
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#712FB1
secondary
#9DC576
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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