#812FC1#812FC1

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

Color values

HEX#812FC1
RGBrgb(129, 47, 193)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 76%)
CMYKcmyk(33.2%, 75.6%, 0%, 24.3%)
CIE-LABlab(38.81, 59.60, -61.26)
CIE-LCHlch(38.81, 85.47, 314.21°)
OKLaboklab(49.94% 0.1234 -0.1744)
OKLCHoklch(49.94% 0.214 305.3)
XYZxyz(19.6933, 10.5505, 51.4407)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FC1 #6FC12F
analogous
#382FC1 #812FC1 #C12FB8
triadic
#812FC1 #C1812F #2FC181
tetradic
#812FC1 #C1382F #6FC12F #2FB8C1
square
#812FC1 #C1382F #6FC12F #2FB8C1
split-complementary
#812FC1 #B8C12F #2FC138
monochromatic
#3F175F #602390 #812FC1 #9E57D6 #BB88E2

Accessibility & contrast

On white

6.75
#812FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#812FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FC1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FC1#FFFFFF#000000##FFFFFF
##812FC11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#755476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #812fc1;
/* rgb */ color: rgb(129, 47, 193);
/* oklch */ color: oklch(49.9% 0.214 305.3);
Tailwind
colors: {
  custom: {
    50: '#ab70d5',
    500: '#812fc1',
    950: '#000000',
  },
}
SCSS
$custom: #812fc1;
$custom-light: #ab70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#812fc1",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 273.699,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.21363,
    "h": 305.3
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#812FC1
secondary
#A1CC80
accent
#E4448A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #812FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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