#7D27A3#7D27A3

#7D27A3 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.192 H 313.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7D27A3
RGBrgb(125, 39, 163)
HSLhsl(282, 61%, 40%)
HSVhsv(282, 76%, 64%)
CMYKcmyk(23.3%, 76.1%, 0%, 36.1%)
CIE-LABlab(34.91, 55.42, -49.80)
CIE-LCHlch(34.91, 74.50, 318.06°)
OKLaboklab(46.37% 0.1311 -0.1408)
OKLCHoklch(46.37% 0.192 313)
XYZxyz(15.7926, 8.4558, 35.4435)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D27A3 #4DA327
analogous
#3F27A3 #7D27A3 #A3278B
triadic
#7D27A3 #A37D27 #27A37D
tetradic
#7D27A3 #A33F27 #4DA327 #278BA3
square
#7D27A3 #A33F27 #4DA327 #278BA3
split-complementary
#7D27A3 #8BA327 #27A33F
monochromatic
#310F40 #571B72 #7D27A3 #A138CF #B869DB

Accessibility & contrast

On white

7.80
#7D27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D27A3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D27A3#FFFFFF#000000##FFFFFF
##7D27A31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#794364
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d27a3;
/* rgb */ color: rgb(125, 39, 163);
/* oklch */ color: oklch(46.4% 0.192 313.0);
Tailwind
colors: {
  custom: {
    50: '#a76bbf',
    500: '#7d27a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d27a3;
$custom-light: #a76bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d27a3",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 281.613,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.19234,
    "h": 313
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#7D27A3
secondary
#81C164
accent
#E44375
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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