#7A27AF#7A27AF

#7A27AF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.203 H 307.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7A27AF
RGBrgb(122, 39, 175)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 69%)
CMYKcmyk(30.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(35.37, 57.44, -56.27)
CIE-LCHlch(35.37, 80.41, 315.59°)
OKLaboklab(46.88% 0.1247 -0.1599)
OKLCHoklch(46.88% 0.203 307.9)
XYZxyz(16.4878, 8.6840, 41.3567)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A27AF #5CAF27
analogous
#3627AF #7A27AF #AF27A0
triadic
#7A27AF #AF7A27 #27AF7A
tetradic
#7A27AF #AF3627 #5CAF27 #27A0AF
square
#7A27AF #AF3627 #5CAF27 #27A0AF
split-complementary
#7A27AF #A0AF27 #27AF36
monochromatic
#34114B #571C7D #7A27AF #9A3FD4 #B471DF

Accessibility & contrast

On white

7.67
#7A27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7A27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A27AF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A27AF#FFFFFF#000000##FFFFFF
##7A27AF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a27af;
/* rgb */ color: rgb(122, 39, 175);
/* oklch */ color: oklch(46.9% 0.203 307.9);
Tailwind
colors: {
  custom: {
    50: '#a66bc8',
    500: '#7a27af',
    950: '#000000',
  },
}
SCSS
$custom: #7a27af;
$custom-light: #a66bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a27af",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 276.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.20277,
    "h": 307.9
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#7A27AF
secondary
#8FC66B
accent
#E74182
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A27AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A27AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva