#7D1BA0#7D1BA0

#7D1BA0 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.201 H 314.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7D1BA0
RGBrgb(125, 27, 160)
HSLhsl(284, 71%, 37%)
HSVhsv(284, 83%, 63%)
CMYKcmyk(21.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(33.31, 58.80, -50.58)
CIE-LCHlch(33.31, 77.56, 319.30°)
OKLaboklab(45.17% 0.1415 -0.143)
OKLCHoklch(45.17% 0.201 314.7)
XYZxyz(15.1935, 7.6825, 33.9334)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1BA0 #3EA01B
analogous
#3B1BA0 #7D1BA0 #A01B81
triadic
#7D1BA0 #A07D1B #1BA07D
tetradic
#7D1BA0 #A03B1B #3EA01B #1B81A0
square
#7D1BA0 #A03B1B #3EA01B #1B81A0
split-complementary
#7D1BA0 #81A01B #1BA03B
monochromatic
#2B0937 #54126C #7D1BA0 #A624D4 #BC53E2

Accessibility & contrast

On white

8.28
#7D1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1BA0
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1BA0#FFFFFF#000000##FFFFFF
##7D1BA01.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#7A3D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d1ba0;
/* rgb */ color: rgb(125, 27, 160);
/* oklch */ color: oklch(45.2% 0.201 314.7);
Tailwind
colors: {
  custom: {
    50: '#a766bd',
    500: '#7d1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ba0;
$custom-light: #a766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ba0",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 284.211,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.20116,
    "h": 314.7
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#7D1BA0
secondary
#70C552
accent
#EE3A69
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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