#712DB8#712DB8

#712DB8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 300.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#712DB8
RGBrgb(113, 45, 184)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 72%)
CMYKcmyk(38.6%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.69, 55.55, -61.15)
CIE-LCHlch(35.69, 82.61, 312.25°)
OKLaboklab(47.07% 0.1046 -0.1746)
OKLCHoklch(47.07% 0.204 300.9)
XYZxyz(16.3980, 8.8481, 46.1820)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB8 #74B82D
analogous
#2D2EB8 #712DB8 #B72DB8
triadic
#712DB8 #B8712D #2DB871
tetradic
#712DB8 #B82D2E #74B82D #2DB8B7
square
#712DB8 #B82D2E #74B82D #2DB8B7
split-complementary
#712DB8 #B8B72D #2EB82D
monochromatic
#351556 #532187 #712DB8 #904ED4 #AF80E0

Accessibility & contrast

On white

7.58
#712DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#712DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DB8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB8#FFFFFF#000000##FFFFFF
##712DB81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#615171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712db8;
/* rgb */ color: rgb(113, 45, 184);
/* oklch */ color: oklch(47.1% 0.204 300.9);
Tailwind
colors: {
  custom: {
    50: '#a06dce',
    500: '#712db8',
    950: '#000000',
  },
}
SCSS
$custom: #712db8;
$custom-light: #a06dce;
$custom-dark: #000000;
JSON
{
  "hex": "#712db8",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 269.353,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.20354,
    "h": 300.9
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#712DB8
secondary
#A1C978
accent
#E44496
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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