#712FAB#712FAB

#712FAB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.188 H 304.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#712FAB
RGBrgb(113, 47, 171)
HSLhsl(272, 57%, 43%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(33.9%, 72.5%, 0%, 32.9%)
CIE-LABlab(34.97, 51.55, -54.59)
CIE-LCHlch(34.97, 75.08, 313.36°)
OKLaboklab(46.24% 0.1055 -0.1553)
OKLCHoklch(46.24% 0.188 304.2)
XYZxyz(15.1756, 8.4841, 39.3583)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FAB #69AB2F
analogous
#332FAB #712FAB #AB2FA7
triadic
#712FAB #AB712F #2FAB71
tetradic
#712FAB #AB332F #69AB2F #2FA7AB
square
#712FAB #AB332F #69AB2F #2FA7AB
split-complementary
#712FAB #A7AB2F #2FAB33
monochromatic
#32154B #51227B #712FAB #904ACD #AD7ADA

Accessibility & contrast

On white

7.79
#712FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FAB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FAB#FFFFFF#000000##FFFFFF
##712FAB1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#664D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712fab;
/* rgb */ color: rgb(113, 47, 171);
/* oklch */ color: oklch(46.2% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ec5',
    500: '#712fab',
    950: '#000000',
  },
}
SCSS
$custom: #712fab;
$custom-light: #9f6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#712fab",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 271.935,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.18776,
    "h": 304.2
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#712FAB
secondary
#98C373
accent
#E0488F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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