#7F27AD#7F27AD

#7F27AD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.202 H 310.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7F27AD
RGBrgb(127, 39, 173)
HSLhsl(279, 63%, 42%)
HSVhsv(279, 77%, 68%)
CMYKcmyk(26.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(35.95, 57.91, -54.11)
CIE-LCHlch(35.95, 79.26, 316.94°)
OKLaboklab(47.39% 0.1319 -0.1534)
OKLCHoklch(47.39% 0.202 310.7)
XYZxyz(17.0193, 8.9806, 40.3639)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F27AD #55AD27
analogous
#3C27AD #7F27AD #AD2798
triadic
#7F27AD #AD7F27 #27AD7F
tetradic
#7F27AD #AD3C27 #55AD27 #2798AD
square
#7F27AD #AD3C27 #55AD27 #2798AD
split-complementary
#7F27AD #98AD27 #27AD3C
monochromatic
#361049 #5A1C7B #7F27AD #A03ED3 #B970DF

Accessibility & contrast

On white

7.51
#7F27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F27AD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F27AD#FFFFFF#000000##FFFFFF
##7F27AD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0156AA
Tritanopia (blue-blind)
#794869
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f27ad;
/* rgb */ color: rgb(127, 39, 173);
/* oklch */ color: oklch(47.4% 0.202 310.7);
Tailwind
colors: {
  custom: {
    50: '#a96bc6',
    500: '#7f27ad',
    950: '#000000',
  },
}
SCSS
$custom: #7f27ad;
$custom-light: #a96bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f27ad",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 279.403,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.20229,
    "h": 310.7
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#7F27AD
secondary
#8AC66A
accent
#E6427A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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