#824CD1#824CD1

#824CD1 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.196 H 298.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#824CD1
RGBrgb(130, 76, 209)
HSLhsl(264, 59%, 56%)
HSVhsv(264, 64%, 82%)
CMYKcmyk(37.8%, 63.6%, 0%, 18%)
CIE-LABlab(44.97, 50.12, -60.55)
CIE-LCHlch(44.97, 78.61, 309.62°)
OKLaboklab(54.73% 0.093 -0.1724)
OKLCHoklch(54.73% 0.196 298.3)
XYZxyz(23.2961, 14.5178, 61.8841)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824CD1 #9BD14C
analogous
#4C58D1 #824CD1 #C44CD1
triadic
#824CD1 #D1824C #4CD182
tetradic
#824CD1 #D14C58 #9BD14C #4CD1C4
square
#824CD1 #D14C58 #9BD14C #4CD1C4
split-complementary
#824CD1 #D1C44C #58D14C
monochromatic
#482181 #632EB2 #824CD1 #A47DDE #C6ADEA

Accessibility & contrast

On white

5.38
#824CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#824CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824CD1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824CD1#FFFFFF#000000##FFFFFF
##824CD11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0069CE
Tritanopia (blue-blind)
#706A88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #824cd1;
/* rgb */ color: rgb(130, 76, 209);
/* oklch */ color: oklch(54.7% 0.196 298.3);
Tailwind
colors: {
  custom: {
    50: '#ac81e0',
    500: '#824cd1',
    950: '#000000',
  },
}
SCSS
$custom: #824cd1;
$custom-light: #ac81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#824cd1",
  "rgb": {
    "r": 130,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 264.361,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.19588,
    "h": 298.3
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#824CD1
secondary
#C2D8A1
accent
#E246A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #824CD1

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

Preview Lab → · Contrast checker → · Palette generator →

#824CD1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva