#7927AF#7927AF

#7927AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.203 H 307.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7927AF
RGBrgb(121, 39, 175)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(30.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(35.23, 57.26, -56.51)
CIE-LCHlch(35.23, 80.45, 315.38°)
OKLaboklab(46.75% 0.1233 -0.1606)
OKLCHoklch(46.75% 0.203 307.5)
XYZxyz(16.3469, 8.6114, 41.3501)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927AF #5DAF27
analogous
#3527AF #7927AF #AF27A1
triadic
#7927AF #AF7927 #27AF79
tetradic
#7927AF #AF3527 #5DAF27 #27A1AF
square
#7927AF #AF3527 #5DAF27 #27A1AF
split-complementary
#7927AF #A1AF27 #27AF35
monochromatic
#34114B #561C7D #7927AF #993FD4 #B471DF

Accessibility & contrast

On white

7.71
#7927AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7927AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927AF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927AF#FFFFFF#000000##FFFFFF
##7927AF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#70496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7927af;
/* rgb */ color: rgb(121, 39, 175);
/* oklch */ color: oklch(46.7% 0.203 307.5);
Tailwind
colors: {
  custom: {
    50: '#a56bc8',
    500: '#7927af',
    950: '#000000',
  },
}
SCSS
$custom: #7927af;
$custom-light: #a56bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7927af",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 276.176,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.20251,
    "h": 307.5
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#7927AF
secondary
#90C66B
accent
#E74183
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927AF

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

Preview Lab → · Contrast checker → · Palette generator →

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