#7927B7#7927B7

#7927B7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.210 H 305.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7927B7
RGBrgb(121, 39, 183)
HSLhsl(274, 65%, 44%)
HSVhsv(274, 79%, 72%)
CMYKcmyk(33.9%, 78.7%, 0%, 28.2%)
CIE-LABlab(35.86, 59.04, -60.24)
CIE-LCHlch(35.86, 84.35, 314.43°)
OKLaboklab(47.39% 0.1214 -0.1716)
OKLCHoklch(47.39% 0.21 305.3)
XYZxyz(17.1560, 8.9350, 45.6114)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B7 #65B727
analogous
#3127B7 #7927B7 #B727AD
triadic
#7927B7 #B77927 #27B779
tetradic
#7927B7 #B73127 #65B727 #27ADB7
square
#7927B7 #B73127 #65B727 #27ADB7
split-complementary
#7927B7 #ADB727 #27B731
monochromatic
#361152 #581C85 #7927B7 #9844D7 #B476E2

Accessibility & contrast

On white

7.53
#7927B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7927B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B7#FFFFFF#000000##FFFFFF
##7927B71.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)
#0052BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6D4D6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7927b7;
/* rgb */ color: rgb(121, 39, 183);
/* oklch */ color: oklch(47.4% 0.210 305.3);
Tailwind
colors: {
  custom: {
    50: '#a66bce',
    500: '#7927b7',
    950: '#000000',
  },
}
SCSS
$custom: #7927b7;
$custom-light: #a66bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b7",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 274.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.21017,
    "h": 305.3
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#7927B7
secondary
#97C970
accent
#E84088
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7927B7

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

Preview Lab → · Contrast checker → · Palette generator →

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