#7927B8#7927B8

#7927B8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.211 H 305.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7927B8
RGBrgb(121, 39, 184)
HSLhsl(274, 65%, 44%)
HSVhsv(274, 79%, 72%)
CMYKcmyk(34.2%, 78.8%, 0%, 27.8%)
CIE-LABlab(35.94, 59.27, -60.70)
CIE-LCHlch(35.94, 84.83, 314.32°)
OKLaboklab(47.47% 0.1211 -0.1729)
OKLCHoklch(47.47% 0.211 305)
XYZxyz(17.2604, 8.9768, 46.1615)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B8 #66B827
analogous
#3027B8 #7927B8 #B827AE
triadic
#7927B8 #B87927 #27B879
tetradic
#7927B8 #B83027 #66B827 #27AEB8
square
#7927B8 #B83027 #66B827 #27AEB8
split-complementary
#7927B8 #AEB827 #27B830
monochromatic
#371253 #581C86 #7927B8 #9845D8 #B477E2

Accessibility & contrast

On white

7.51
#7927B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7927B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B8#FFFFFF#000000##FFFFFF
##7927B81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#6D4D70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7927b8;
/* rgb */ color: rgb(121, 39, 184);
/* oklch */ color: oklch(47.5% 0.211 305.0);
Tailwind
colors: {
  custom: {
    50: '#a66bce',
    500: '#7927b8',
    950: '#000000',
  },
}
SCSS
$custom: #7927b8;
$custom-light: #a66bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b8",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 273.931,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.21112,
    "h": 305
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#7927B8
secondary
#98CA71
accent
#E84089
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7927B8

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

Preview Lab → · Contrast checker → · Palette generator →

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