#7824BD#7824BD

#7824BD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.218 H 303.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7824BD
RGBrgb(120, 36, 189)
HSLhsl(273, 68%, 44%)
HSVhsv(273, 81%, 74%)
CMYKcmyk(36.5%, 81%, 0%, 25.9%)
CIE-LABlab(35.85, 61.29, -63.80)
CIE-LCHlch(35.85, 88.47, 313.85°)
OKLaboklab(47.51% 0.1206 -0.1821)
OKLCHoklch(47.51% 0.218 303.5)
XYZxyz(17.5597, 8.9290, 48.9326)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824BD #69BD24
analogous
#2B24BD #7824BD #BD24B6
triadic
#7824BD #BD7824 #24BD78
tetradic
#7824BD #BD2B24 #69BD24 #24B6BD
square
#7824BD #BD2B24 #69BD24 #24B6BD
split-complementary
#7824BD #B6BD24 #24BD2B
monochromatic
#371056 #571A8A #7824BD #9743DB #B376E5

Accessibility & contrast

On white

7.54
#7824BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7824BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824BD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824BD#FFFFFF#000000##FFFFFF
##7824BD1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#6A4E72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7824bd;
/* rgb */ color: rgb(120, 36, 189);
/* oklch */ color: oklch(47.5% 0.218 303.5);
Tailwind
colors: {
  custom: {
    50: '#a66ad2',
    500: '#7824bd',
    950: '#000000',
  },
}
SCSS
$custom: #7824bd;
$custom-light: #a66ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7824bd",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 272.941,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47505,
    "c": 0.21839,
    "h": 303.5
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#7824BD
secondary
#9ACC70
accent
#EB3D8B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7824BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7824BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva