#7927B1#7927B1

#7927B1 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.204 H 306.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7927B1
RGBrgb(121, 39, 177)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(31.6%, 78%, 0%, 30.6%)
CIE-LABlab(35.38, 57.70, -57.45)
CIE-LCHlch(35.38, 81.43, 315.13°)
OKLaboklab(46.91% 0.1228 -0.1634)
OKLCHoklch(46.91% 0.204 306.9)
XYZxyz(16.5448, 8.6905, 42.3923)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B1 #5FB127
analogous
#3427B1 #7927B1 #B127A4
triadic
#7927B1 #B17927 #27B179
tetradic
#7927B1 #B13427 #5FB127 #27A4B1
square
#7927B1 #B13427 #5FB127 #27A4B1
split-complementary
#7927B1 #A4B127 #27B134
monochromatic
#34114D #571C7F #7927B1 #9940D5 #B472E0

Accessibility & contrast

On white

7.67
#7927B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7927B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B1#FFFFFF#000000##FFFFFF
##7927B11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6F4A6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7927b1;
/* rgb */ color: rgb(121, 39, 177);
/* oklch */ color: oklch(46.9% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#a56bc9',
    500: '#7927b1',
    950: '#000000',
  },
}
SCSS
$custom: #7927b1;
$custom-light: #a56bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b1",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 275.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.20442,
    "h": 306.9
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#7927B1
secondary
#91C76D
accent
#E74184
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927B1

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

Preview Lab → · Contrast checker → · Palette generator →

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