#712FB3#712FB3

#712FB3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.196 H 302.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#712FB3
RGBrgb(113, 47, 179)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(36.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.59, 53.47, -58.34)
CIE-LCHlch(35.59, 79.14, 312.50°)
OKLaboklab(46.87% 0.1039 -0.1664)
OKLCHoklch(46.87% 0.196 302)
XYZxyz(15.9613, 8.7984, 43.4964)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB3 #71B32F
analogous
#2F2FB3 #712FB3 #B32FB3
triadic
#712FB3 #B3712F #2FB371
tetradic
#712FB3 #B32F2F #71B32F #2FB3B3
square
#712FB3 #B32F2F #71B32F #2FB3B3
split-complementary
#712FB3 #B3B32F #2FB32F
monochromatic
#341652 #522283 #712FB3 #904FD1 #AE7FDD

Accessibility & contrast

On white

7.61
#712FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#712FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB3#FFFFFF#000000##FFFFFF
##712FB31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#63506E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712fb3;
/* rgb */ color: rgb(113, 47, 179);
/* oklch */ color: oklch(46.9% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#a06ecb',
    500: '#712fb3',
    950: '#000000',
  },
}
SCSS
$custom: #712fb3;
$custom-light: #a06ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb3",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46873,
    "c": 0.19616,
    "h": 302
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#712FB3
secondary
#9FC678
accent
#E24694
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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