#7F27AE#7F27AE

#7F27AE is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.203 H 310.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7F27AE
RGBrgb(127, 39, 174)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 78%, 68%)
CMYKcmyk(27%, 77.6%, 0%, 31.8%)
CIE-LABlab(36.02, 58.12, -54.58)
CIE-LCHlch(36.02, 79.74, 316.80°)
OKLaboklab(47.47% 0.1317 -0.1548)
OKLCHoklch(47.47% 0.203 310.4)
XYZxyz(17.1164, 9.0194, 40.8754)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F27AE #56AE27
analogous
#3C27AE #7F27AE #AE279A
triadic
#7F27AE #AE7F27 #27AE7F
tetradic
#7F27AE #AE3C27 #56AE27 #279AAE
square
#7F27AE #AE3C27 #56AE27 #279AAE
split-complementary
#7F27AE #9AAE27 #27AE3C
monochromatic
#36114A #5B1C7C #7F27AE #A03ED4 #B970DF

Accessibility & contrast

On white

7.49
#7F27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7F27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F27AE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F27AE#FFFFFF#000000##FFFFFF
##7F27AE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#78486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f27ae;
/* rgb */ color: rgb(127, 39, 174);
/* oklch */ color: oklch(47.5% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#a96bc7',
    500: '#7f27ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f27ae;
$custom-light: #a96bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f27ae",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 279.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.20321,
    "h": 310.4
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#7F27AE
secondary
#8BC66B
accent
#E6417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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