#824BB2#824BB2

#824BB2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.161 H 306.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#824BB2
RGBrgb(130, 75, 178)
HSLhsl(272, 41%, 50%)
HSVhsv(272, 58%, 70%)
CMYKcmyk(27%, 57.9%, 0%, 30.2%)
CIE-LABlab(42.75, 42.94, -46.09)
CIE-LCHlch(42.75, 63.00, 312.97°)
OKLaboklab(52.47% 0.0953 -0.1299)
OKLCHoklch(52.47% 0.161 306.3)
XYZxyz(19.7562, 12.9925, 43.5779)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824BB2 #7BB24B
analogous
#4F4BB2 #824BB2 #B24BAE
triadic
#824BB2 #B2824B #4BB282
tetradic
#824BB2 #B24F4B #7BB24B #4BAEB2
square
#824BB2 #B24F4B #7BB24B #4BAEB2
split-complementary
#824BB2 #AEB24B #4BB24F
monochromatic
#43275C #633987 #824BB2 #A075C5 #BEA0D7

Accessibility & contrast

On white

5.84
#824BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#824BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824BB2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824BB2#FFFFFF#000000##FFFFFF
##824BB21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#7A5F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #824bb2;
/* rgb */ color: rgb(130, 75, 178);
/* oklch */ color: oklch(52.5% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#a980c9',
    500: '#824bb2',
    950: '#000000',
  },
}
SCSS
$custom: #824bb2;
$custom-light: #a980c9;
$custom-dark: #000000;
JSON
{
  "hex": "#824bb2",
  "rgb": {
    "r": 130,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 272.039,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.16116,
    "h": 306.3
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#824BB2
secondary
#ABC495
accent
#D15790
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #824BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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