#7D269C#7D269C

#7D269C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.187 H 315.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7D269C
RGBrgb(125, 38, 156)
HSLhsl(284, 61%, 38%)
HSVhsv(284, 76%, 61%)
CMYKcmyk(19.9%, 75.6%, 0%, 38.8%)
CIE-LABlab(34.29, 54.34, -46.57)
CIE-LCHlch(34.29, 71.57, 319.40°)
OKLaboklab(45.77% 0.1331 -0.1313)
OKLCHoklch(45.77% 0.187 315.4)
XYZxyz(15.1503, 8.1471, 32.2205)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D269C #459C26
analogous
#42269C #7D269C #9C2680
triadic
#7D269C #9C7D26 #269C7D
tetradic
#7D269C #9C4226 #459C26 #26809C
square
#7D269C #9C4226 #459C26 #26809C
split-complementary
#7D269C #809C26 #269C42
monochromatic
#2E0E3A #561A6B #7D269C #A432CD #BA63D9

Accessibility & contrast

On white

7.99
#7D269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D269C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D269C#FFFFFF#000000##FFFFFF
##7D269C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#7B405F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d269c;
/* rgb */ color: rgb(125, 38, 156);
/* oklch */ color: oklch(45.8% 0.187 315.4);
Tailwind
colors: {
  custom: {
    50: '#a76aba',
    500: '#7d269c',
    950: '#000000',
  },
}
SCSS
$custom: #7d269c;
$custom-light: #a76aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d269c",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 284.237,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.18695,
    "h": 315.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#7D269C
secondary
#78BF5F
accent
#E4446E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D269C

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

Preview Lab → · Contrast checker → · Palette generator →

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