#7915B4#7915B4

#7915B4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.9% C 0.221 H 307.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7915B4
RGBrgb(121, 21, 180)
HSLhsl(278, 79%, 39%)
HSVhsv(278, 88%, 71%)
CMYKcmyk(32.8%, 88.3%, 0%, 29.4%)
CIE-LABlab(33.77, 63.79, -61.87)
CIE-LCHlch(33.77, 88.86, 315.87°)
OKLaboklab(45.86% 0.1341 -0.1763)
OKLCHoklch(45.86% 0.221 307.3)
XYZxyz(16.3897, 7.8968, 43.8320)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7915B4 #50B415
analogous
#2A15B4 #7915B4 #B415A0
triadic
#7915B4 #B47915 #15B479
tetradic
#7915B4 #B42A15 #50B415 #15A0B4
square
#7915B4 #B42A15 #50B415 #15A0B4
split-complementary
#7915B4 #A0B415 #15B42A
monochromatic
#2F0846 #540F7D #7915B4 #9C21E5 #B558EC

Accessibility & contrast

On white

8.14
#7915B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7915B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7915B4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7915B4#FFFFFF#000000##FFFFFF
##7915B41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#6F456A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7915b4;
/* rgb */ color: rgb(121, 21, 180);
/* oklch */ color: oklch(45.9% 0.221 307.3);
Tailwind
colors: {
  custom: {
    50: '#a664cc',
    500: '#7915b4',
    950: '#000000',
  },
}
SCSS
$custom: #7915b4;
$custom-light: #a664cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7915b4",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 277.736,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.22149,
    "h": 307.3
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#7915B4
secondary
#83CF56
accent
#F6327B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7915B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7915B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva