#821EC9#821EC9

#821EC9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.4% C 0.236 H 304.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#821EC9
RGBrgb(130, 30, 201)
HSLhsl(275, 74%, 45%)
HSVhsv(275, 85%, 79%)
CMYKcmyk(35.3%, 85.1%, 0%, 21.2%)
CIE-LABlab(37.65, 67.20, -67.83)
CIE-LCHlch(37.65, 95.48, 314.73°)
OKLaboklab(49.36% 0.135 -0.1935)
OKLCHoklch(49.36% 0.236 304.9)
XYZxyz(20.2104, 9.8915, 56.0915)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821EC9 #65C91E
analogous
#2D1EC9 #821EC9 #C91EBA
triadic
#821EC9 #C9821E #1EC982
tetradic
#821EC9 #C92D1E #65C91E #1EBAC9
square
#821EC9 #C92D1E #65C91E #1EBAC9
split-complementary
#821EC9 #BAC91E #1EC92D
monochromatic
#3D0E5E #601694 #821EC9 #A041E3 #BB77EB

Accessibility & contrast

On white

7.05
#821EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#821EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821EC9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821EC9#FFFFFF#000000##FFFFFF
##821EC91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#745078
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #821ec9;
/* rgb */ color: rgb(130, 30, 201);
/* oklch */ color: oklch(49.4% 0.236 304.9);
Tailwind
colors: {
  custom: {
    50: '#ad6adb',
    500: '#821ec9',
    950: '#000000',
  },
}
SCSS
$custom: #821ec9;
$custom-light: #ad6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#821ec9",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 275.088,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.23596,
    "h": 304.9
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#821EC9
secondary
#99D271
accent
#F13784
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #821EC9

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

Preview Lab → · Contrast checker → · Palette generator →

#821EC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva