#7D27AF#7D27AF

#7D27AF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.204 H 309.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7D27AF
RGBrgb(125, 39, 175)
HSLhsl(278, 64%, 42%)
HSVhsv(278, 78%, 69%)
CMYKcmyk(28.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(35.80, 57.97, -55.55)
CIE-LCHlch(35.80, 80.29, 316.22°)
OKLaboklab(47.28% 0.1288 -0.1577)
OKLCHoklch(47.28% 0.204 309.2)
XYZxyz(16.9193, 8.9065, 41.3770)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D27AF #59AF27
analogous
#3927AF #7D27AF #AF279D
triadic
#7D27AF #AF7D27 #27AF7D
tetradic
#7D27AF #AF3927 #59AF27 #279DAF
square
#7D27AF #AF3927 #59AF27 #279DAF
split-complementary
#7D27AF #9DAF27 #27AF39
monochromatic
#36114B #591C7D #7D27AF #9D3FD4 #B771DF

Accessibility & contrast

On white

7.55
#7D27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D27AF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D27AF#FFFFFF#000000##FFFFFF
##7D27AF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#75496A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d27af;
/* rgb */ color: rgb(125, 39, 175);
/* oklch */ color: oklch(47.3% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#a86bc8',
    500: '#7d27af',
    950: '#000000',
  },
}
SCSS
$custom: #7d27af;
$custom-light: #a86bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d27af",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 277.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.20357,
    "h": 309.2
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#7D27AF
secondary
#8DC66B
accent
#E7417E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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