#824FB2#824FB2

#824FB2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.155 H 305.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#824FB2
RGBrgb(130, 79, 178)
HSLhsl(271, 39%, 50%)
HSVhsv(271, 56%, 70%)
CMYKcmyk(27%, 55.6%, 0%, 30.2%)
CIE-LABlab(43.58, 40.75, -44.76)
CIE-LCHlch(43.58, 60.53, 312.31°)
OKLaboklab(53.08% 0.0901 -0.1261)
OKLCHoklch(53.08% 0.155 305.5)
XYZxyz(20.0361, 13.5523, 43.6712)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#824FB2 #7FB24F
analogous
#504FB2 #824FB2 #B24FB0
triadic
#824FB2 #B2824F #4FB282
tetradic
#824FB2 #B2504F #7FB24F #4FB0B2
square
#824FB2 #B2504F #7FB24F #4FB0B2
split-complementary
#824FB2 #B0B24F #4FB250
monochromatic
#44295E #633C88 #824FB2 #A07AC5 #BEA4D7

Accessibility & contrast

On white

5.66
#824FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#824FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #824FB2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##824FB2#FFFFFF#000000##FFFFFF
##824FB21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#7A6279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #824fb2;
/* rgb */ color: rgb(130, 79, 178);
/* oklch */ color: oklch(53.1% 0.155 305.5);
Tailwind
colors: {
  custom: {
    50: '#a982c9',
    500: '#824fb2',
    950: '#000000',
  },
}
SCSS
$custom: #824fb2;
$custom-light: #a982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#824fb2",
  "rgb": {
    "r": 130,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 270.909,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.15493,
    "h": 305.5
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#824FB2
secondary
#AEC498
accent
#CF5992
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #824FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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