#816AF2#816AF2

#816AF2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.196 H 286.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#816AF2
RGBrgb(129, 106, 242)
HSLhsl(250, 84%, 68%)
HSVhsv(250, 56%, 95%)
CMYKcmyk(46.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(53.37, 42.30, -65.65)
CIE-LCHlch(53.37, 78.09, 302.80°)
OKLaboklab(61.55% 0.057 -0.1874)
OKLCHoklch(61.55% 0.196 286.9)
XYZxyz(30.2297, 21.3847, 86.5220)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AF2 #DBF26A
analogous
#6A97F2 #816AF2 #C56AF2
triadic
#816AF2 #F2816A #6AF281
tetradic
#816AF2 #F26A97 #DBF26A #6AF2C5
square
#816AF2 #F26A97 #DBF26A #6AF2C5
split-complementary
#816AF2 #F2C56A #97F26A
monochromatic
#3212CF #5132ED #816AF2 #B1A2F7 #E0DBFC

Accessibility & contrast

On white

3.98
#816AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#816AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AF2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AF2#FFFFFF#000000##000000
##816AF21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B83F7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#5C88A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816af2;
/* rgb */ color: rgb(129, 106, 242);
/* oklch */ color: oklch(61.5% 0.196 286.9);
Tailwind
colors: {
  custom: {
    50: '#ad95f7',
    500: '#816af2',
    950: '#000000',
  },
}
SCSS
$custom: #816af2;
$custom-light: #ad95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#816af2",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 250.147,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.19589,
    "h": 286.9
  },
  "luminance": 0.21386
}

Semantic roles & 50–950 ramp

primary
#816AF2
secondary
#EAF1C7
accent
#E005BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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