#812FBC#812FBC

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

Color values

HEX#812FBC
RGBrgb(129, 47, 188)
HSLhsl(275, 60%, 46%)
HSVhsv(275, 75%, 74%)
CMYKcmyk(31.4%, 75%, 0%, 26.3%)
CIE-LABlab(38.43, 58.48, -58.95)
CIE-LCHlch(38.43, 83.04, 314.77°)
OKLaboklab(49.55% 0.1245 -0.1676)
OKLCHoklch(49.55% 0.209 306.6)
XYZxyz(19.1449, 10.3312, 48.5528)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FBC #6ABC2F
analogous
#3B2FBC #812FBC #BC2FB0
triadic
#812FBC #BC812F #2FBC81
tetradic
#812FBC #BC3B2F #6ABC2F #2FB0BC
square
#812FBC #BC3B2F #6ABC2F #2FB0BC
split-complementary
#812FBC #B0BC2F #2FBC3B
monochromatic
#3E175A #5F238B #812FBC #9F54D4 #BA85E0

Accessibility & contrast

On white

6.85
#812FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#812FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FBC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FBC#FFFFFF#000000##FFFFFF
##812FBC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#775274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #812fbc;
/* rgb */ color: rgb(129, 47, 188);
/* oklch */ color: oklch(49.6% 0.209 306.6);
Tailwind
colors: {
  custom: {
    50: '#ab70d1',
    500: '#812fbc',
    950: '#000000',
  },
}
SCSS
$custom: #812fbc;
$custom-light: #ab70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#812fbc",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 274.894,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.20874,
    "h": 306.6
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#812FBC
secondary
#9DCA7D
accent
#E34587
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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