#824CB2#824CB2

#824CB2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.160 H 306.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#824CB2
RGBrgb(130, 76, 178)
HSLhsl(272, 40%, 50%)
HSVhsv(272, 57%, 70%)
CMYKcmyk(27%, 57.3%, 0%, 30.2%)
CIE-LABlab(42.96, 42.40, -45.76)
CIE-LCHlch(42.96, 62.38, 312.81°)
OKLaboklab(52.62% 0.094 -0.129)
OKLCHoklch(52.62% 0.16 306.1)
XYZxyz(19.8245, 13.1292, 43.6007)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824CB2 #7CB24C
analogous
#4F4CB2 #824CB2 #B24CAF
triadic
#824CB2 #B2824C #4CB282
tetradic
#824CB2 #B24F4C #7CB24C #4CAFB2
square
#824CB2 #B24F4C #7CB24C #4CAFB2
split-complementary
#824CB2 #AFB24C #4CB24F
monochromatic
#43275C #633A87 #824CB2 #A076C5 #BEA1D7

Accessibility & contrast

On white

5.79
#824CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#824CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824CB2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824CB2#FFFFFF#000000##FFFFFF
##824CB21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#7A5F78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #824cb2;
/* rgb */ color: rgb(130, 76, 178);
/* oklch */ color: oklch(52.6% 0.160 306.1);
Tailwind
colors: {
  custom: {
    50: '#a980c9',
    500: '#824cb2',
    950: '#000000',
  },
}
SCSS
$custom: #824cb2;
$custom-light: #a980c9;
$custom-dark: #000000;
JSON
{
  "hex": "#824cb2",
  "rgb": {
    "r": 130,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 271.765,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.15961,
    "h": 306.1
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#824CB2
secondary
#ACC496
accent
#D05890
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #824CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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