#7918C9#7918C9

#7918C9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.9% C 0.238 H 301.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7918C9
RGBrgb(121, 24, 201)
HSLhsl(273, 79%, 44%)
HSVhsv(273, 88%, 79%)
CMYKcmyk(39.8%, 88.1%, 0%, 21.2%)
CIE-LABlab(35.86, 67.54, -70.81)
CIE-LCHlch(35.86, 97.86, 313.65°)
OKLaboklab(47.86% 0.1252 -0.2025)
OKLCHoklch(47.86% 0.238 301.7)
XYZxyz(18.7518, 8.9352, 55.9837)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7918C9 #68C918
analogous
#2018C9 #7918C9 #C918C1
triadic
#7918C9 #C97918 #18C979
tetradic
#7918C9 #C92018 #68C918 #18C1C9
square
#7918C9 #C92018 #68C918 #18C1C9
split-complementary
#7918C9 #C1C918 #18C920
monochromatic
#370B5C #581192 #7918C9 #9837E7 #B46EEE

Accessibility & contrast

On white

7.53
#7918C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7918C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7918C9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7918C9#FFFFFF#000000##FFFFFF
##7918C91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#675077
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7918c9;
/* rgb */ color: rgb(121, 24, 201);
/* oklch */ color: oklch(47.9% 0.238 301.7);
Tailwind
colors: {
  custom: {
    50: '#a867db',
    500: '#7918c9',
    950: '#000000',
  },
}
SCSS
$custom: #7918c9;
$custom-light: #a867db;
$custom-dark: #000000;
JSON
{
  "hex": "#7918c9",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 201
  },
  "hsl": {
    "h": 272.881,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.23808,
    "h": 301.7
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#7918C9
secondary
#99D469
accent
#F5338B
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7918C9

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

Preview Lab → · Contrast checker → · Palette generator →

#7918C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva