#712FB7#712FB7

#712FB7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.200 H 301.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#712FB7
RGBrgb(113, 47, 183)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 72%)
CMYKcmyk(38.3%, 74.3%, 0%, 28.2%)
CIE-LABlab(35.91, 54.44, -60.19)
CIE-LCHlch(35.91, 81.16, 312.13°)
OKLaboklab(47.2% 0.1031 -0.1718)
OKLCHoklch(47.2% 0.2 301)
XYZxyz(16.3717, 8.9625, 45.6580)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB7 #75B72F
analogous
#2F31B7 #712FB7 #B52FB7
triadic
#712FB7 #B7712F #2FB771
tetradic
#712FB7 #B72F31 #75B72F #2FB7B5
square
#712FB7 #B72F31 #75B72F #2FB7B5
split-complementary
#712FB7 #B7B52F #31B72F
monochromatic
#351656 #532286 #712FB7 #9051D2 #AF82DF

Accessibility & contrast

On white

7.52
#712FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#712FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB7#FFFFFF#000000##FFFFFF
##712FB71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#615271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712fb7;
/* rgb */ color: rgb(113, 47, 183);
/* oklch */ color: oklch(47.2% 0.200 301.0);
Tailwind
colors: {
  custom: {
    50: '#a06ece',
    500: '#712fb7',
    950: '#000000',
  },
}
SCSS
$custom: #712fb7;
$custom-light: #a06ece;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb7",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 269.118,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.20034,
    "h": 301
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#712FB7
secondary
#A2C87A
accent
#E24596
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #712FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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