#812FBD#812FBD

#812FBD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.210 H 306.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#812FBD
RGBrgb(129, 47, 189)
HSLhsl(275, 60%, 46%)
HSVhsv(275, 75%, 74%)
CMYKcmyk(31.7%, 75.1%, 0%, 25.9%)
CIE-LABlab(38.51, 58.70, -59.42)
CIE-LCHlch(38.51, 83.53, 314.66°)
OKLaboklab(49.63% 0.1242 -0.169)
OKLCHoklch(49.63% 0.21 306.3)
XYZxyz(19.2531, 10.3745, 49.1224)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FBD #6BBD2F
analogous
#3A2FBD #812FBD #BD2FB2
triadic
#812FBD #BD812F #2FBD81
tetradic
#812FBD #BD3A2F #6BBD2F #2FB2BD
square
#812FBD #BD3A2F #6BBD2F #2FB2BD
split-complementary
#812FBD #B2BD2F #2FBD3A
monochromatic
#3E175B #60238C #812FBD #9F55D5 #BA86E1

Accessibility & contrast

On white

6.83
#812FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #812FBD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FBD#FFFFFF#000000##FFFFFF
##812FBD1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#765274
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #812fbd;
/* rgb */ color: rgb(129, 47, 189);
/* oklch */ color: oklch(49.6% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab70d2',
    500: '#812fbd',
    950: '#000000',
  },
}
SCSS
$custom: #812fbd;
$custom-light: #ab70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#812fbd",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 274.648,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.20972,
    "h": 306.3
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#812FBD
secondary
#9ECA7E
accent
#E34488
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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