#7915B3#7915B3

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

Color values

HEX#7915B3
RGBrgb(121, 21, 179)
HSLhsl(278, 79%, 39%)
HSVhsv(278, 88%, 70%)
CMYKcmyk(32.4%, 88.3%, 0%, 29.8%)
CIE-LABlab(33.68, 63.58, -61.41)
CIE-LCHlch(33.68, 88.40, 315.99°)
OKLaboklab(45.78% 0.1345 -0.1749)
OKLCHoklch(45.78% 0.221 307.6)
XYZxyz(16.2882, 7.8562, 43.2974)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7915B3 #4FB315
analogous
#2A15B3 #7915B3 #B3159E
triadic
#7915B3 #B37915 #15B379
tetradic
#7915B3 #B32A15 #4FB315 #159EB3
square
#7915B3 #B32A15 #4FB315 #159EB3
split-complementary
#7915B3 #9EB315 #15B32A
monochromatic
#2F0845 #540F7C #7915B3 #9D20E5 #B557EB

Accessibility & contrast

On white

8.17
#7915B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7915B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7915B3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7915B3#FFFFFF#000000##FFFFFF
##7915B31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6F446A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7915b3;
/* rgb */ color: rgb(121, 21, 179);
/* oklch */ color: oklch(45.8% 0.221 307.6);
Tailwind
colors: {
  custom: {
    50: '#a664cb',
    500: '#7915b3',
    950: '#000000',
  },
}
SCSS
$custom: #7915b3;
$custom-light: #a664cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7915b3",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 179
  },
  "hsl": {
    "h": 277.975,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.22063,
    "h": 307.6
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#7915B3
secondary
#82CE56
accent
#F5327A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7915B3

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

Preview Lab → · Contrast checker → · Palette generator →

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