#7824B0#7824B0

#7824B0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.206 H 307.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7824B0
RGBrgb(120, 36, 176)
HSLhsl(276, 66%, 42%)
HSVhsv(276, 80%, 69%)
CMYKcmyk(31.8%, 79.5%, 0%, 31%)
CIE-LABlab(34.78, 58.40, -57.84)
CIE-LCHlch(34.78, 82.20, 315.28°)
OKLaboklab(46.43% 0.1241 -0.1646)
OKLCHoklch(46.43% 0.206 307)
XYZxyz(16.2114, 8.3896, 41.8312)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824B0 #5CB024
analogous
#3224B0 #7824B0 #B024A2
triadic
#7824B0 #B07824 #24B078
tetradic
#7824B0 #B03224 #5CB024 #24A2B0
square
#7824B0 #B03224 #5CB024 #24A2B0
split-complementary
#7824B0 #A2B024 #24B032
monochromatic
#330F4A #551A7D #7824B0 #983AD7 #B36DE1

Accessibility & contrast

On white

7.84
#7824B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7824B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824B0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824B0#FFFFFF#000000##FFFFFF
##7824B01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#6E496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7824b0;
/* rgb */ color: rgb(120, 36, 176);
/* oklch */ color: oklch(46.4% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#a569c9',
    500: '#7824b0',
    950: '#000000',
  },
}
SCSS
$custom: #7824b0;
$custom-light: #a569c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7824b0",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 276,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.20613,
    "h": 307
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#7824B0
secondary
#8EC868
accent
#E93F83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7824B0

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

Preview Lab → · Contrast checker → · Palette generator →

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