#7F27AF#7F27AF

#7F27AF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.204 H 310.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7F27AF
RGBrgb(127, 39, 175)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(27.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(36.10, 58.34, -55.06)
CIE-LCHlch(36.10, 80.22, 316.66°)
OKLaboklab(47.54% 0.1315 -0.1562)
OKLCHoklch(47.54% 0.204 310.1)
XYZxyz(17.2142, 9.0586, 41.3908)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F27AF #57AF27
analogous
#3B27AF #7F27AF #AF279B
triadic
#7F27AF #AF7F27 #27AF7F
tetradic
#7F27AF #AF3B27 #57AF27 #279BAF
square
#7F27AF #AF3B27 #57AF27 #279BAF
split-complementary
#7F27AF #9BAF27 #27AF3B
monochromatic
#36114B #5B1C7D #7F27AF #A03FD4 #B871DF

Accessibility & contrast

On white

7.47
#7F27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F27AF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F27AF#FFFFFF#000000##FFFFFF
##7F27AF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f27af;
/* rgb */ color: rgb(127, 39, 175);
/* oklch */ color: oklch(47.5% 0.204 310.1);
Tailwind
colors: {
  custom: {
    50: '#a96bc8',
    500: '#7f27af',
    950: '#000000',
  },
}
SCSS
$custom: #7f27af;
$custom-light: #a96bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f27af",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 278.824,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.20415,
    "h": 310.1
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#7F27AF
secondary
#8CC66B
accent
#E7417C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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