#7927B6#7927B6

#7927B6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.209 H 305.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7927B6
RGBrgb(121, 39, 182)
HSLhsl(274, 65%, 43%)
HSVhsv(274, 79%, 71%)
CMYKcmyk(33.5%, 78.6%, 0%, 28.6%)
CIE-LABlab(35.78, 58.82, -59.77)
CIE-LCHlch(35.78, 83.86, 314.54°)
OKLaboklab(47.31% 0.1216 -0.1702)
OKLCHoklch(47.31% 0.209 305.5)
XYZxyz(17.0523, 8.8935, 45.0652)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B6 #64B627
analogous
#3227B6 #7927B6 #B627AB
triadic
#7927B6 #B67927 #27B679
tetradic
#7927B6 #B63227 #64B627 #27ABB6
square
#7927B6 #B63227 #64B627 #27ABB6
split-complementary
#7927B6 #ABB627 #27B632
monochromatic
#361151 #571C84 #7927B6 #9843D7 #B476E2

Accessibility & contrast

On white

7.56
#7927B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7927B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B6#FFFFFF#000000##FFFFFF
##7927B61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#6E4C6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7927b6;
/* rgb */ color: rgb(121, 39, 182);
/* oklch */ color: oklch(47.3% 0.209 305.5);
Tailwind
colors: {
  custom: {
    50: '#a66bcd',
    500: '#7927b6',
    950: '#000000',
  },
}
SCSS
$custom: #7927b6;
$custom-light: #a66bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b6",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 274.406,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.20921,
    "h": 305.5
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7927B6

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

Preview Lab → · Contrast checker → · Palette generator →

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