#7927B5#7927B5

#7927B5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.208 H 305.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7927B5
RGBrgb(121, 39, 181)
HSLhsl(275, 65%, 43%)
HSVhsv(275, 78%, 71%)
CMYKcmyk(33.1%, 78.5%, 0%, 29%)
CIE-LABlab(35.70, 58.59, -59.31)
CIE-LCHlch(35.70, 83.37, 314.65°)
OKLaboklab(47.23% 0.1219 -0.1689)
OKLCHoklch(47.23% 0.208 305.8)
XYZxyz(16.9493, 8.8523, 44.5229)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B5 #63B527
analogous
#3227B5 #7927B5 #B527AA
triadic
#7927B5 #B57927 #27B579
tetradic
#7927B5 #B53227 #63B527 #27AAB5
square
#7927B5 #B53227 #63B527 #27AAB5
split-complementary
#7927B5 #AAB527 #27B532
monochromatic
#361150 #571C83 #7927B5 #9843D6 #B475E1

Accessibility & contrast

On white

7.58
#7927B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7927B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B5#FFFFFF#000000##FFFFFF
##7927B51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7927b5;
/* rgb */ color: rgb(121, 39, 181);
/* oklch */ color: oklch(47.2% 0.208 305.8);
Tailwind
colors: {
  custom: {
    50: '#a56bcc',
    500: '#7927b5',
    950: '#000000',
  },
}
SCSS
$custom: #7927b5;
$custom-light: #a56bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b5",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 274.648,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.20825,
    "h": 305.8
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#7927B5
secondary
#95C96F
accent
#E84087
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927B5

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

Preview Lab → · Contrast checker → · Palette generator →

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