#812FC8#812FC8

#812FC8 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.220 H 303.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#812FC8
RGBrgb(129, 47, 200)
HSLhsl(272, 62%, 48%)
HSVhsv(272, 77%, 78%)
CMYKcmyk(35.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(39.36, 61.19, -64.46)
CIE-LCHlch(39.36, 88.88, 313.51°)
OKLaboklab(50.5% 0.1218 -0.1838)
OKLCHoklch(50.5% 0.22 303.5)
XYZxyz(20.4927, 10.8703, 55.6510)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FC8 #76C82F
analogous
#352FC8 #812FC8 #C82FC2
triadic
#812FC8 #C8812F #2FC881
tetradic
#812FC8 #C8352F #76C82F #2FC2C8
square
#812FC8 #C8352F #76C82F #2FC2C8
split-complementary
#812FC8 #C2C82F #2FC835
monochromatic
#411865 #612396 #812FC8 #9F5CD9 #BC8DE4

Accessibility & contrast

On white

6.62
#812FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#812FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FC8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FC8#FFFFFF#000000##FFFFFF
##812FC81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#73577A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #812fc8;
/* rgb */ color: rgb(129, 47, 200);
/* oklch */ color: oklch(50.5% 0.220 303.5);
Tailwind
colors: {
  custom: {
    50: '#ac70da',
    500: '#812fc8',
    950: '#000000',
  },
}
SCSS
$custom: #812fc8;
$custom-light: #ac70da;
$custom-dark: #000000;
JSON
{
  "hex": "#812fc8",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 272.157,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.22046,
    "h": 303.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#812FC8
secondary
#A7CF84
accent
#E5438E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #812FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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