#7924B5#7924B5

#7924B5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.211 H 306.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7924B5
RGBrgb(121, 36, 181)
HSLhsl(275, 67%, 43%)
HSVhsv(275, 80%, 71%)
CMYKcmyk(33.1%, 80.1%, 0%, 29%)
CIE-LABlab(35.33, 59.67, -59.92)
CIE-LCHlch(35.33, 84.56, 314.88°)
OKLaboklab(46.97% 0.1242 -0.1706)
OKLCHoklch(46.97% 0.211 306.1)
XYZxyz(16.8547, 8.6631, 44.4913)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7924B5 #60B524
analogous
#3024B5 #7924B5 #B524A9
triadic
#7924B5 #B57924 #24B579
tetradic
#7924B5 #B53024 #60B524 #24A9B5
square
#7924B5 #B53024 #60B524 #24A9B5
split-complementary
#7924B5 #A9B524 #24B530
monochromatic
#35104F #571A82 #7924B5 #983ED9 #B471E3

Accessibility & contrast

On white

7.68
#7924B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7924B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7924B5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7924B5#FFFFFF#000000##FFFFFF
##7924B51.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#6E4B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7924b5;
/* rgb */ color: rgb(121, 36, 181);
/* oklch */ color: oklch(47.0% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#a66acc',
    500: '#7924b5',
    950: '#000000',
  },
}
SCSS
$custom: #7924b5;
$custom-light: #a66acc;
$custom-dark: #000000;
JSON
{
  "hex": "#7924b5",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 275.172,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.21107,
    "h": 306.1
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#7924B5
secondary
#92C96B
accent
#EA3E85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7924B5

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

Preview Lab → · Contrast checker → · Palette generator →

#7924B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva