#812FB3#812FB3

#812FB3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.200 H 309.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#812FB3
RGBrgb(129, 47, 179)
HSLhsl(277, 58%, 44%)
HSVhsv(277, 74%, 70%)
CMYKcmyk(27.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(37.76, 56.48, -54.72)
CIE-LCHlch(37.76, 78.65, 315.91°)
OKLaboklab(48.87% 0.1261 -0.1552)
OKLCHoklch(48.87% 0.2 309.1)
XYZxyz(18.2048, 9.9552, 43.6016)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FB3 #61B32F
analogous
#3F2FB3 #812FB3 #B32FA3
triadic
#812FB3 #B3812F #2FB381
tetradic
#812FB3 #B33F2F #61B32F #2FA3B3
square
#812FB3 #B33F2F #61B32F #2FA3B3
split-complementary
#812FB3 #A3B32F #2FB33F
monochromatic
#3B1652 #5E2283 #812FB3 #9F4FD1 #BA7FDD

Accessibility & contrast

On white

7.02
#812FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#812FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812FB3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FB3#FFFFFF#000000##FFFFFF
##812FB31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#794E6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #812fb3;
/* rgb */ color: rgb(129, 47, 179);
/* oklch */ color: oklch(48.9% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#aa70cb',
    500: '#812fb3',
    950: '#000000',
  },
}
SCSS
$custom: #812fb3;
$custom-light: #aa70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#812fb3",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 277.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.19995,
    "h": 309.1
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#812FB3
secondary
#95C678
accent
#E24681
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #812FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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