#712F9B#712F9B

#712F9B is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.171 H 309.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#712F9B
RGBrgb(113, 47, 155)
HSLhsl(277, 53%, 40%)
HSVhsv(277, 70%, 61%)
CMYKcmyk(27.1%, 69.7%, 0%, 39.2%)
CIE-LABlab(33.80, 47.79, -46.85)
CIE-LCHlch(33.80, 66.92, 315.57°)
OKLaboklab(45.03% 0.1079 -0.1326)
OKLCHoklch(45.03% 0.171 309.1)
XYZxyz(13.7418, 7.9105, 31.8070)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F9B #599B2F
analogous
#3B2F9B #712F9B #9B2F8F
triadic
#712F9B #9B712F #2F9B71
tetradic
#712F9B #9B3B2F #599B2F #2F8F9B
square
#712F9B #9B3B2F #599B2F #2F8F9B
split-complementary
#712F9B #8F9B2F #2F9B3B
monochromatic
#2D133D #4F216C #712F9B #9242C6 #AD71D4

Accessibility & contrast

On white

8.13
#712F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#712F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F9B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F9B#FFFFFF#000000##FFFFFF
##712F9B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#1A5099
Tritanopia (blue-blind)
#6B4661
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712f9b;
/* rgb */ color: rgb(113, 47, 155);
/* oklch */ color: oklch(45.0% 0.171 309.1);
Tailwind
colors: {
  custom: {
    50: '#9e6db9',
    500: '#712f9b',
    950: '#000000',
  },
}
SCSS
$custom: #712f9b;
$custom-light: #9e6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#712f9b",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 276.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.17091,
    "h": 309.1
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#712F9B
secondary
#8ABB6A
accent
#DD4B84
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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