#7D267C#7D267C

#7D267C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.158 H 328.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7D267C
RGBrgb(125, 38, 124)
HSLhsl(301, 53%, 32%)
HSVhsv(301, 70%, 49%)
CMYKcmyk(0%, 69.6%, 0.8%, 51%)
CIE-LABlab(32.26, 48.18, -30.06)
CIE-LCHlch(32.26, 56.79, 328.04°)
OKLaboklab(43.67% 0.1348 -0.0831)
OKLCHoklch(43.67% 0.158 328.3)
XYZxyz(12.7885, 7.2023, 19.7815)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D267C #267D27
analogous
#53267D #7D267C #7D2651
triadic
#7D267C #7C7D26 #267C7D
tetradic
#7D267C #7D5326 #267D27 #26517D
square
#7D267C #7D5326 #267D27 #26517D
split-complementary
#7D267C #517D26 #267D53
monochromatic
#1F091F #4E184D #7D267C #AC34AB #CB53C9

Accessibility & contrast

On white

8.61
#7D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D267C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D267C#FFFFFF#000000##FFFFFF
##7D267C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#81324E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d267c;
/* rgb */ color: rgb(125, 38, 124);
/* oklch */ color: oklch(43.7% 0.158 328.3);
Tailwind
colors: {
  custom: {
    50: '#a668a2',
    500: '#7d267c',
    950: '#000000',
  },
}
SCSS
$custom: #7d267c;
$custom-light: #a668a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d267c",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 300.69,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.15834,
    "h": 328.3
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#7D267C
secondary
#50AF51
accent
#DD4D4B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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