#7927B4#7927B4

#7927B4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.207 H 306.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7927B4
RGBrgb(121, 39, 180)
HSLhsl(275, 64%, 43%)
HSVhsv(275, 78%, 71%)
CMYKcmyk(32.8%, 78.3%, 0%, 29.4%)
CIE-LABlab(35.62, 58.37, -58.85)
CIE-LCHlch(35.62, 82.89, 314.77°)
OKLaboklab(47.15% 0.1221 -0.1675)
OKLCHoklch(47.15% 0.207 306.1)
XYZxyz(16.8471, 8.8114, 43.9844)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927B4 #62B427
analogous
#3327B4 #7927B4 #B427A8
triadic
#7927B4 #B47927 #27B479
tetradic
#7927B4 #B43327 #62B427 #27A8B4
square
#7927B4 #B43327 #62B427 #27A8B4
split-complementary
#7927B4 #A8B427 #27B433
monochromatic
#35114F #571C82 #7927B4 #9842D6 #B474E1

Accessibility & contrast

On white

7.60
#7927B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7927B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927B4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927B4#FFFFFF#000000##FFFFFF
##7927B41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6E4B6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7927b4;
/* rgb */ color: rgb(121, 39, 180);
/* oklch */ color: oklch(47.1% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#a56bcb',
    500: '#7927b4',
    950: '#000000',
  },
}
SCSS
$custom: #7927b4;
$custom-light: #a56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7927b4",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 274.894,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.20729,
    "h": 306.1
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#7927B4
secondary
#94C86F
accent
#E74086
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927B4

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

Preview Lab → · Contrast checker → · Palette generator →

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