#712DBC#712DBC

#712DBC is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.208 H 299.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#712DBC
RGBrgb(113, 45, 188)
HSLhsl(269, 61%, 46%)
HSVhsv(269, 76%, 74%)
CMYKcmyk(39.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(36.02, 56.51, -62.97)
CIE-LCHlch(36.02, 84.61, 311.91°)
OKLaboklab(47.4% 0.1037 -0.1799)
OKLCHoklch(47.4% 0.208 299.9)
XYZxyz(16.8233, 9.0181, 48.4215)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DBC #78BC2D
analogous
#2D31BC #712DBC #B82DBC
triadic
#712DBC #BC712D #2DBC71
tetradic
#712DBC #BC2D31 #78BC2D #2DBCB8
square
#712DBC #BC2D31 #78BC2D #2DBCB8
split-complementary
#712DBC #BCB82D #31BC2D
monochromatic
#361559 #53218B #712DBC #9051D5 #AF82E1

Accessibility & contrast

On white

7.49
#712DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#712DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DBC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DBC#FFFFFF#000000##FFFFFF
##712DBC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#5F5373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #712dbc;
/* rgb */ color: rgb(113, 45, 188);
/* oklch */ color: oklch(47.4% 0.208 299.9);
Tailwind
colors: {
  custom: {
    50: '#a16dd1',
    500: '#712dbc',
    950: '#000000',
  },
}
SCSS
$custom: #712dbc;
$custom-light: #a16dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#712dbc",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 268.531,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.20767,
    "h": 299.9
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#712DBC
secondary
#A4CA7B
accent
#E44398
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #712DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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