#712BAD#712BAD

#712BAD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.194 H 304.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#712BAD
RGBrgb(113, 43, 173)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 68%)
CMYKcmyk(34.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(34.51, 53.77, -56.53)
CIE-LCHlch(34.51, 78.02, 313.57°)
OKLaboklab(45.96% 0.1089 -0.161)
OKLCHoklch(45.96% 0.194 304.1)
XYZxyz(15.2150, 8.2556, 40.3190)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BAD #67AD2B
analogous
#302BAD #712BAD #AD2BA8
triadic
#712BAD #AD712B #2BAD71
tetradic
#712BAD #AD302B #67AD2B #2BA8AD
square
#712BAD #AD302B #67AD2B #2BA8AD
split-complementary
#712BAD #A8AD2B #2BAD30
monochromatic
#31134B #511F7C #712BAD #9045D1 #AD76DD

Accessibility & contrast

On white

7.92
#712BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#712BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BAD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BAD#FFFFFF#000000##FFFFFF
##712BAD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#654B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712bad;
/* rgb */ color: rgb(113, 43, 173);
/* oklch */ color: oklch(46.0% 0.194 304.1);
Tailwind
colors: {
  custom: {
    50: '#9f6cc6',
    500: '#712bad',
    950: '#000000',
  },
}
SCSS
$custom: #712bad;
$custom-light: #9f6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#712bad",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 272.308,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.19441,
    "h": 304.1
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#712BAD
secondary
#97C46F
accent
#E3448E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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