#812EBD#812EBD

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

Color values

HEX#812EBD
RGBrgb(129, 46, 189)
HSLhsl(275, 61%, 46%)
HSVhsv(275, 76%, 74%)
CMYKcmyk(31.7%, 75.7%, 0%, 25.9%)
CIE-LABlab(38.37, 59.10, -59.64)
CIE-LCHlch(38.37, 83.97, 314.74°)
OKLaboklab(49.53% 0.1251 -0.1696)
OKLCHoklch(49.53% 0.211 306.4)
XYZxyz(19.2136, 10.2954, 49.1093)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812EBD #6ABD2E
analogous
#392EBD #812EBD #BD2EB1
triadic
#812EBD #BD812E #2EBD81
tetradic
#812EBD #BD392E #6ABD2E #2EB1BD
square
#812EBD #BD392E #6ABD2E #2EB1BD
split-complementary
#812EBD #B1BD2E #2EBD39
monochromatic
#3E165B #5F228C #812EBD #9F53D5 #BA84E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812EBD#FFFFFF#000000##FFFFFF
##812EBD1.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)
#0058C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#765274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812ebd;
/* rgb */ color: rgb(129, 46, 189);
/* oklch */ color: oklch(49.5% 0.211 306.4);
Tailwind
colors: {
  custom: {
    50: '#ab6fd2',
    500: '#812ebd',
    950: '#000000',
  },
}
SCSS
$custom: #812ebd;
$custom-light: #ab6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#812ebd",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 274.825,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.21078,
    "h": 306.4
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#812EBD
secondary
#9DCA7C
accent
#E44487
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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