#812DBF#812DBF

#812DBF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.214 H 306.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#812DBF
RGBrgb(129, 45, 191)
HSLhsl(275, 62%, 46%)
HSVhsv(275, 76%, 75%)
CMYKcmyk(32.5%, 76.4%, 0%, 25.1%)
CIE-LABlab(38.39, 59.94, -60.79)
CIE-LCHlch(38.39, 85.37, 314.60°)
OKLaboklab(49.59% 0.1256 -0.173)
OKLCHoklch(49.59% 0.214 306)
XYZxyz(19.3935, 10.3057, 50.2476)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812DBF #6BBF2D
analogous
#382DBF #812DBF #BF2DB4
triadic
#812DBF #BF812D #2DBF81
tetradic
#812DBF #BF382D #6BBF2D #2DB4BF
square
#812DBF #BF382D #6BBF2D #2DB4BF
split-complementary
#812DBF #B4BF2D #2DBF38
monochromatic
#3E165C #60218D #812DBF #9F53D6 #BA84E2

Accessibility & contrast

On white

6.86
#812DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#812DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812DBF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812DBF#FFFFFF#000000##FFFFFF
##812DBF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#765275
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812dbf;
/* rgb */ color: rgb(129, 45, 191);
/* oklch */ color: oklch(49.6% 0.214 306.0);
Tailwind
colors: {
  custom: {
    50: '#ab6fd3',
    500: '#812dbf',
    950: '#000000',
  },
}
SCSS
$custom: #812dbf;
$custom-light: #ab6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#812dbf",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 274.521,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.21375,
    "h": 306
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#812DBF
secondary
#9ECB7C
accent
#E54388
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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