#712FA1#712FA1

#712FA1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.177 H 307.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#712FA1
RGBrgb(113, 47, 161)
HSLhsl(275, 55%, 41%)
HSVhsv(275, 71%, 63%)
CMYKcmyk(29.8%, 70.8%, 0%, 36.9%)
CIE-LABlab(34.23, 49.18, -49.79)
CIE-LCHlch(34.23, 69.98, 314.65°)
OKLaboklab(45.47% 0.1071 -0.1412)
OKLCHoklch(45.47% 0.177 307.2)
XYZxyz(14.2582, 8.1171, 34.5269)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FA1 #5FA12F
analogous
#382FA1 #712FA1 #A12F98
triadic
#712FA1 #A1712F #2FA171
tetradic
#712FA1 #A1382F #5FA12F #2F98A1
square
#712FA1 #A1382F #5FA12F #2F98A1
split-complementary
#712FA1 #98A12F #2FA138
monochromatic
#2F1342 #502172 #712FA1 #9145C9 #AD74D6

Accessibility & contrast

On white

8.00
#712FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#712FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FA1
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FA1#FFFFFF#000000##FFFFFF
##712FA11.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#0D519F
Tritanopia (blue-blind)
#694964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712fa1;
/* rgb */ color: rgb(113, 47, 161);
/* oklch */ color: oklch(45.5% 0.177 307.2);
Tailwind
colors: {
  custom: {
    50: '#9e6dbe',
    500: '#712fa1',
    950: '#000000',
  },
}
SCSS
$custom: #712fa1;
$custom-light: #9e6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#712fa1",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 274.737,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.17723,
    "h": 307.2
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#712FA1
secondary
#90BE6E
accent
#DE4A88
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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