#712F9E#712F9E

#712F9E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.174 H 308.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#712F9E
RGBrgb(113, 47, 158)
HSLhsl(276, 54%, 40%)
HSVhsv(276, 70%, 62%)
CMYKcmyk(28.5%, 70.3%, 0%, 38%)
CIE-LABlab(34.01, 48.48, -48.32)
CIE-LCHlch(34.01, 68.45, 315.09°)
OKLaboklab(45.25% 0.1075 -0.1369)
OKLCHoklch(45.25% 0.174 308.1)
XYZxyz(13.9968, 8.0126, 33.1503)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F9E #5C9E2F
analogous
#3A2F9E #712F9E #9E2F93
triadic
#712F9E #9E712F #2F9E71
tetradic
#712F9E #9E3A2F #5C9E2F #2F939E
square
#712F9E #9E3A2F #5C9E2F #2F939E
split-complementary
#712F9E #939E2F #2F9E3A
monochromatic
#2E1340 #4F216F #712F9E #9243C7 #AD72D5

Accessibility & contrast

On white

8.07
#712F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#712F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F9E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F9E#FFFFFF#000000##FFFFFF
##712F9E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#6A4863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712f9e;
/* rgb */ color: rgb(113, 47, 158);
/* oklch */ color: oklch(45.3% 0.174 308.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dbb',
    500: '#712f9e',
    950: '#000000',
  },
}
SCSS
$custom: #712f9e;
$custom-light: #9e6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712f9e",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 275.676,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.17406,
    "h": 308.1
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#712F9E
secondary
#8DBD6C
accent
#DE4A86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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