#7824BB#7824BB

#7824BB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.216 H 304.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7824BB
RGBrgb(120, 36, 187)
HSLhsl(273, 68%, 44%)
HSVhsv(273, 81%, 73%)
CMYKcmyk(35.8%, 80.7%, 0%, 26.7%)
CIE-LABlab(35.68, 60.84, -62.90)
CIE-LCHlch(35.68, 87.51, 314.05°)
OKLaboklab(47.34% 0.1212 -0.1794)
OKLCHoklch(47.34% 0.217 304)
XYZxyz(17.3442, 8.8427, 47.7972)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824BB #67BB24
analogous
#2C24BB #7824BB #BB24B2
triadic
#7824BB #BB7824 #24BB78
tetradic
#7824BB #BB2C24 #67BB24 #24B2BB
square
#7824BB #BB2C24 #67BB24 #24B2BB
split-complementary
#7824BB #B2BB24 #24BB2C
monochromatic
#361054 #571A88 #7824BB #9742DB #B375E4

Accessibility & contrast

On white

7.59
#7824BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7824BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824BB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824BB#FFFFFF#000000##FFFFFF
##7824BB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#6B4D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7824bb;
/* rgb */ color: rgb(120, 36, 187);
/* oklch */ color: oklch(47.3% 0.216 304.0);
Tailwind
colors: {
  custom: {
    50: '#a56ad0',
    500: '#7824bb',
    950: '#000000',
  },
}
SCSS
$custom: #7824bb;
$custom-light: #a56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7824bb",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 273.377,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.2165,
    "h": 304
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#7824BB
secondary
#98CC6F
accent
#EB3D8A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7824BB

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

Preview Lab → · Contrast checker → · Palette generator →

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