#812DC9#812DC9

#812DC9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.223 H 303.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#812DC9
RGBrgb(129, 45, 201)
HSLhsl(272, 63%, 48%)
HSVhsv(272, 78%, 79%)
CMYKcmyk(35.8%, 77.6%, 0%, 21.2%)
CIE-LABlab(39.17, 62.18, -65.34)
CIE-LCHlch(39.17, 90.20, 313.58°)
OKLaboklab(50.39% 0.1232 -0.1864)
OKLCHoklch(50.39% 0.223 303.5)
XYZxyz(20.5318, 10.7610, 56.2424)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812DC9 #75C92D
analogous
#332DC9 #812DC9 #C92DC3
triadic
#812DC9 #C9812D #2DC981
tetradic
#812DC9 #C9332D #75C92D #2DC3C9
square
#812DC9 #C9332D #75C92D #2DC3C9
split-complementary
#812DC9 #C3C92D #2DC933
monochromatic
#411765 #612297 #812DC9 #9F59DA #BC8BE5

Accessibility & contrast

On white

6.66
#812DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#812DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812DC9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812DC9#FFFFFF#000000##FFFFFF
##812DC91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#72567B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #812dc9;
/* rgb */ color: rgb(129, 45, 201);
/* oklch */ color: oklch(50.4% 0.223 303.5);
Tailwind
colors: {
  custom: {
    50: '#ac70da',
    500: '#812dc9',
    950: '#000000',
  },
}
SCSS
$custom: #812dc9;
$custom-light: #ac70da;
$custom-dark: #000000;
JSON
{
  "hex": "#812dc9",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 272.308,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.2234,
    "h": 303.5
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#812DC9
secondary
#A6CF83
accent
#E6418E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #812DC9

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

Preview Lab → · Contrast checker → · Palette generator →

#812DC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva