#812CBD#812CBD

#812CBD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.213 H 306.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#812CBD
RGBrgb(129, 44, 189)
HSLhsl(275, 62%, 46%)
HSVhsv(275, 77%, 74%)
CMYKcmyk(31.7%, 76.7%, 0%, 25.9%)
CIE-LABlab(38.10, 59.88, -60.08)
CIE-LCHlch(38.10, 84.82, 314.90°)
OKLaboklab(49.34% 0.1269 -0.1709)
OKLCHoklch(49.34% 0.213 306.6)
XYZxyz(19.1372, 10.1428, 49.0838)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812CBD #68BD2C
analogous
#382CBD #812CBD #BD2CB1
triadic
#812CBD #BD812C #2CBD81
tetradic
#812CBD #BD382C #68BD2C #2CB1BD
square
#812CBD #BD382C #68BD2C #2CB1BD
split-complementary
#812CBD #B1BD2C #2CBD38
monochromatic
#3D155A #5F208B #812CBD #9F50D6 #BA82E2

Accessibility & contrast

On white

6.93
#812CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#812CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812CBD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812CBD#FFFFFF#000000##FFFFFF
##812CBD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#765174
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812cbd;
/* rgb */ color: rgb(129, 44, 189);
/* oklch */ color: oklch(49.3% 0.213 306.6);
Tailwind
colors: {
  custom: {
    50: '#ab6fd2',
    500: '#812cbd',
    950: '#000000',
  },
}
SCSS
$custom: #812cbd;
$custom-light: #ab6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#812cbd",
  "rgb": {
    "r": 129,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 275.172,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.21284,
    "h": 306.6
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#812CBD
secondary
#9BCB7A
accent
#E54286
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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