#816BCE#816BCE

#816BCE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.4% C 0.147 H 291.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#816BCE
RGBrgb(129, 107, 206)
HSLhsl(253, 50%, 61%)
HSVhsv(253, 48%, 81%)
CMYKcmyk(37.4%, 48.1%, 0%, 19.2%)
CIE-LABlab(51.43, 31.64, -48.47)
CIE-LCHlch(51.43, 57.88, 303.13°)
OKLaboklab(59.4% 0.0539 -0.137)
OKLCHoklch(59.4% 0.147 291.5)
XYZxyz(25.4486, 19.6381, 60.8303)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BCE #B8CE6B
analogous
#6B87CE #816BCE #B36BCE
triadic
#816BCE #CE816B #6BCE81
tetradic
#816BCE #CE6B87 #B8CE6B #6BCEB3
square
#816BCE #CE6B87 #B8CE6B #6BCEB3
split-complementary
#816BCE #CEB36B #87CE6B
monochromatic
#452F8F #5B3FBD #816BCE #A899DD #CFC7EC

Accessibility & contrast

On white

4.26
#816BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#816BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BCE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BCE#FFFFFF#000000##000000
##816BCE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#6D7F93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #816bce;
/* rgb */ color: rgb(129, 107, 206);
/* oklch */ color: oklch(59.4% 0.147 291.5);
Tailwind
colors: {
  custom: {
    50: '#a995dd',
    500: '#816bce',
    950: '#000000',
  },
}
SCSS
$custom: #816bce;
$custom-light: #a995dd;
$custom-dark: #000000;
JSON
{
  "hex": "#816bce",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 253.333,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.1472,
    "h": 291.5
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#816BCE
secondary
#D5DDB8
accent
#BE289C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816BCE

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

Preview Lab → · Contrast checker → · Palette generator →

#816BCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva