#812FD0#812FD0

#812FD0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.228 H 301.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#812FD0
RGBrgb(129, 47, 208)
HSLhsl(271, 63%, 50%)
HSVhsv(271, 77%, 82%)
CMYKcmyk(38%, 77.4%, 0%, 18.4%)
CIE-LABlab(40.01, 63.02, -68.05)
CIE-LCHlch(40.01, 92.75, 312.81°)
OKLaboklab(51.15% 0.1198 -0.1943)
OKLCHoklch(51.15% 0.228 301.6)
XYZxyz(21.4522, 11.2541, 60.7044)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812FD0 #7ED02F
analogous
#312FD0 #812FD0 #D02FCE
triadic
#812FD0 #D0812F #2FD081
tetradic
#812FD0 #D0312F #7ED02F #2FCED0
square
#812FD0 #D0312F #7ED02F #2FCED0
split-complementary
#812FD0 #CED02F #2FD031
monochromatic
#43186C #62249E #812FD0 #9F61DB #BD93E7

Accessibility & contrast

On white

6.46
#812FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#812FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #812FD0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812FD0#FFFFFF#000000##FFFFFF
##812FD01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#705A7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #812fd0;
/* rgb */ color: rgb(129, 47, 208);
/* oklch */ color: oklch(51.1% 0.228 301.6);
Tailwind
colors: {
  custom: {
    50: '#ad71df',
    500: '#812fd0',
    950: '#000000',
  },
}
SCSS
$custom: #812fd0;
$custom-light: #ad71df;
$custom-dark: #000000;
JSON
{
  "hex": "#812fd0",
  "rgb": {
    "r": 129,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 270.559,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.22827,
    "h": 301.6
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#812FD0
secondary
#ADD189
accent
#E64292
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #812FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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