#824CD2#824CD2

#824CD2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.197 H 298.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#824CD2
RGBrgb(130, 76, 210)
HSLhsl(264, 60%, 56%)
HSVhsv(264, 64%, 82%)
CMYKcmyk(38.1%, 63.8%, 0%, 17.6%)
CIE-LABlab(45.04, 50.38, -61.01)
CIE-LCHlch(45.04, 79.12, 309.55°)
OKLaboklab(54.8% 0.0929 -0.1738)
OKLCHoklch(54.8% 0.197 298.1)
XYZxyz(23.4203, 14.5675, 62.5382)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824CD2 #9CD24C
analogous
#4C59D2 #824CD2 #C54CD2
triadic
#824CD2 #D2824C #4CD282
tetradic
#824CD2 #D24C59 #9CD24C #4CD2C5
square
#824CD2 #D24C59 #9CD24C #4CD2C5
split-complementary
#824CD2 #D2C54C #59D24C
monochromatic
#482183 #632DB4 #824CD2 #A47DDE #C6AEEB

Accessibility & contrast

On white

5.37
#824CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#824CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824CD2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824CD2#FFFFFF#000000##FFFFFF
##824CD21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#6F6A88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #824cd2;
/* rgb */ color: rgb(130, 76, 210);
/* oklch */ color: oklch(54.8% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac81e1',
    500: '#824cd2',
    950: '#000000',
  },
}
SCSS
$custom: #824cd2;
$custom-light: #ac81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#824cd2",
  "rgb": {
    "r": 130,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 264.179,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.19704,
    "h": 298.1
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#824CD2
secondary
#C2D9A1
accent
#E345A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #824CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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