#812FC0#812FC0

#812FC0 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.213 H 305.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#812FC0
RGBrgb(129, 47, 192)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 75%)
CMYKcmyk(32.8%, 75.5%, 0%, 24.7%)
CIE-LABlab(38.74, 59.38, -60.80)
CIE-LCHlch(38.74, 84.99, 314.32°)
OKLaboklab(49.86% 0.1236 -0.173)
OKLCHoklch(49.86% 0.213 305.5)
XYZxyz(19.5821, 10.5061, 50.8552)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FC0 #6EC02F
analogous
#392FC0 #812FC0 #C02FB7
triadic
#812FC0 #C0812F #2FC081
tetradic
#812FC0 #C0392F #6EC02F #2FB7C0
square
#812FC0 #C0392F #6EC02F #2FB7C0
split-complementary
#812FC0 #B7C02F #2FC039
monochromatic
#3F175E #60238F #812FC0 #9E56D6 #BB88E2

Accessibility & contrast

On white

6.77
#812FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#812FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FC0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FC0#FFFFFF#000000##FFFFFF
##812FC01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#755376
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #812fc0;
/* rgb */ color: rgb(129, 47, 192);
/* oklch */ color: oklch(49.9% 0.213 305.5);
Tailwind
colors: {
  custom: {
    50: '#ab70d4',
    500: '#812fc0',
    950: '#000000',
  },
}
SCSS
$custom: #812fc0;
$custom-light: #ab70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#812fc0",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 273.931,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.21265,
    "h": 305.5
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#812FC0
secondary
#A0CB7F
accent
#E44489
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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