#7927C1#7927C1

#7927C1 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.220 H 302.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7927C1
RGBrgb(121, 39, 193)
HSLhsl(272, 66%, 45%)
HSVhsv(272, 80%, 76%)
CMYKcmyk(37.3%, 79.8%, 0%, 24.3%)
CIE-LABlab(36.68, 61.30, -64.79)
CIE-LCHlch(36.68, 89.19, 313.42°)
OKLaboklab(48.22% 0.1187 -0.185)
OKLCHoklch(48.22% 0.22 302.7)
XYZxyz(18.2340, 9.3662, 51.2890)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927C1 #6FC127
analogous
#2C27C1 #7927C1 #C127BC
triadic
#7927C1 #C17927 #27C179
tetradic
#7927C1 #C12C27 #6FC127 #27BCC1
square
#7927C1 #C12C27 #6FC127 #27BCC1
split-complementary
#7927C1 #BCC127 #27C12C
monochromatic
#39125B #591D8E #7927C1 #974BDB #B57EE5

Accessibility & contrast

On white

7.31
#7927C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7927C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927C1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927C1#FFFFFF#000000##FFFFFF
##7927C11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6A5175
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7927c1;
/* rgb */ color: rgb(121, 39, 193);
/* oklch */ color: oklch(48.2% 0.220 302.7);
Tailwind
colors: {
  custom: {
    50: '#a66cd5',
    500: '#7927c1',
    950: '#000000',
  },
}
SCSS
$custom: #7927c1;
$custom-light: #a66cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7927c1",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 271.948,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.21975,
    "h": 302.7
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#7927C1
secondary
#9FCD77
accent
#E93E8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7927C1

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

Preview Lab → · Contrast checker → · Palette generator →

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