#824DB2#824DB2

#824DB2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.158 H 305.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#824DB2
RGBrgb(130, 77, 178)
HSLhsl(271, 40%, 50%)
HSVhsv(271, 57%, 70%)
CMYKcmyk(27%, 56.7%, 0%, 30.2%)
CIE-LABlab(43.16, 41.85, -45.43)
CIE-LCHlch(43.16, 61.77, 312.65°)
OKLaboklab(52.77% 0.0927 -0.128)
OKLCHoklch(52.77% 0.158 305.9)
XYZxyz(19.8940, 13.2681, 43.6238)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824DB2 #7DB24D
analogous
#4F4DB2 #824DB2 #B24DB0
triadic
#824DB2 #B2824D #4DB282
tetradic
#824DB2 #B24F4D #7DB24D #4DB0B2
square
#824DB2 #B24F4D #7DB24D #4DB0B2
split-complementary
#824DB2 #B0B24D #4DB24F
monochromatic
#44285D #633B87 #824DB2 #A078C4 #BEA2D7

Accessibility & contrast

On white

5.75
#824DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#824DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824DB2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824DB2#FFFFFF#000000##FFFFFF
##824DB21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#7A6078
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #824db2;
/* rgb */ color: rgb(130, 77, 178);
/* oklch */ color: oklch(52.8% 0.158 305.9);
Tailwind
colors: {
  custom: {
    50: '#a981c9',
    500: '#824db2',
    950: '#000000',
  },
}
SCSS
$custom: #824db2;
$custom-light: #a981c9;
$custom-dark: #000000;
JSON
{
  "hex": "#824db2",
  "rgb": {
    "r": 130,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 271.485,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.15806,
    "h": 305.9
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#824DB2
secondary
#ACC497
accent
#CF5891
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #824DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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