#7824C1#7824C1

#7824C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.222 H 302.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7824C1
RGBrgb(120, 36, 193)
HSLhsl(272, 69%, 45%)
HSVhsv(272, 81%, 76%)
CMYKcmyk(37.8%, 81.3%, 0%, 24.3%)
CIE-LABlab(36.19, 62.19, -65.60)
CIE-LCHlch(36.19, 90.40, 313.47°)
OKLaboklab(47.84% 0.1194 -0.1874)
OKLCHoklch(47.84% 0.222 302.5)
XYZxyz(17.9999, 9.1050, 51.2509)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7824C1 #6DC124
analogous
#2A24C1 #7824C1 #C124BB
triadic
#7824C1 #C17824 #24C178
tetradic
#7824C1 #C12A24 #6DC124 #24BBC1
square
#7824C1 #C12A24 #6DC124 #24BBC1
split-complementary
#7824C1 #BBC124 #24C12A
monochromatic
#38115A #581A8D #7824C1 #9646DC #B479E6

Accessibility & contrast

On white

7.44
#7824C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7824C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7824C1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7824C1#FFFFFF#000000##FFFFFF
##7824C11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#685074
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7824c1;
/* rgb */ color: rgb(120, 36, 193);
/* oklch */ color: oklch(47.8% 0.222 302.5);
Tailwind
colors: {
  custom: {
    50: '#a66ad5',
    500: '#7824c1',
    950: '#000000',
  },
}
SCSS
$custom: #7824c1;
$custom-light: #a66ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7824c1",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 272.102,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.22217,
    "h": 302.5
  },
  "luminance": 0.09105
}

Semantic roles & 50–950 ramp

primary
#7824C1
secondary
#9DCE73
accent
#EB3C8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7824C1

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

Preview Lab → · Contrast checker → · Palette generator →

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