#712DBB#712DBB

#712DBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.207 H 300.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#712DBB
RGBrgb(113, 45, 187)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 73%)
CMYKcmyk(39.6%, 75.9%, 0%, 26.7%)
CIE-LABlab(35.94, 56.27, -62.52)
CIE-LCHlch(35.94, 84.11, 311.99°)
OKLaboklab(47.32% 0.1039 -0.1786)
OKLCHoklch(47.32% 0.207 300.2)
XYZxyz(16.7158, 8.9752, 47.8558)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DBB #77BB2D
analogous
#2D30BB #712DBB #B82DBB
triadic
#712DBB #BB712D #2DBB71
tetradic
#712DBB #BB2D30 #77BB2D #2DBBB8
square
#712DBB #BB2D30 #77BB2D #2DBBB8
split-complementary
#712DBB #BBB82D #30BB2D
monochromatic
#351558 #53218A #712DBB #9050D5 #AF82E1

Accessibility & contrast

On white

7.51
#712DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712DBB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DBB#FFFFFF#000000##FFFFFF
##712DBB1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#605273
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #712dbb;
/* rgb */ color: rgb(113, 45, 187);
/* oklch */ color: oklch(47.3% 0.207 300.2);
Tailwind
colors: {
  custom: {
    50: '#a06dd0',
    500: '#712dbb',
    950: '#000000',
  },
}
SCSS
$custom: #712dbb;
$custom-light: #a06dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#712dbb",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 268.732,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.20664,
    "h": 300.2
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#712DBB
secondary
#A4CA7A
accent
#E44397
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #712DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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