#712BA8#712BA8

#712BA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.189 H 305.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#712BA8
RGBrgb(113, 43, 168)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 74%, 66%)
CMYKcmyk(32.7%, 74.4%, 0%, 34.1%)
CIE-LABlab(34.12, 52.60, -54.17)
CIE-LCHlch(34.12, 75.51, 314.16°)
OKLaboklab(45.56% 0.11 -0.1541)
OKLCHoklch(45.56% 0.189 305.5)
XYZxyz(14.7402, 8.0657, 37.8185)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BA8 #62A82B
analogous
#332BA8 #712BA8 #A82BA1
triadic
#712BA8 #A8712B #2BA871
tetradic
#712BA8 #A8332B #62A82B #2BA1A8
square
#712BA8 #A8332B #62A82B #2BA1A8
split-complementary
#712BA8 #A1A82B #2BA833
monochromatic
#2F1247 #501F77 #712BA8 #9142CF #AD72DB

Accessibility & contrast

On white

8.04
#712BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#712BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BA8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BA8#FFFFFF#000000##FFFFFF
##712BA81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#674967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #712ba8;
/* rgb */ color: rgb(113, 43, 168);
/* oklch */ color: oklch(45.6% 0.189 305.5);
Tailwind
colors: {
  custom: {
    50: '#9f6bc3',
    500: '#712ba8',
    950: '#000000',
  },
}
SCSS
$custom: #712ba8;
$custom-light: #9f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ba8",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 273.6,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.1893,
    "h": 305.5
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#712BA8
secondary
#92C26C
accent
#E2458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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