#7D269D#7D269D

#7D269D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 315.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7D269D
RGBrgb(125, 38, 157)
HSLhsl(284, 61%, 38%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(20.4%, 75.8%, 0%, 38.4%)
CIE-LABlab(34.36, 54.55, -47.07)
CIE-LCHlch(34.36, 72.05, 319.21°)
OKLaboklab(45.84% 0.1329 -0.1328)
OKLCHoklch(45.84% 0.188 315)
XYZxyz(15.2354, 8.1811, 32.6683)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D269D #469D26
analogous
#42269D #7D269D #9D2681
triadic
#7D269D #9D7D26 #269D7D
tetradic
#7D269D #9D4226 #469D26 #26819D
square
#7D269D #9D4226 #469D26 #26819D
split-complementary
#7D269D #819D26 #269D42
monochromatic
#2F0E3A #561A6C #7D269D #A433CE #BA64D9

Accessibility & contrast

On white

7.97
#7D269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D269D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D269D#FFFFFF#000000##FFFFFF
##7D269D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#21539A
Tritanopia (blue-blind)
#7A4060
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d269d;
/* rgb */ color: rgb(125, 38, 157);
/* oklch */ color: oklch(45.8% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#a76abb',
    500: '#7d269d',
    950: '#000000',
  },
}
SCSS
$custom: #7d269d;
$custom-light: #a76abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d269d",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 283.866,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.18787,
    "h": 315
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#7D269D
secondary
#79BF60
accent
#E4446F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D269D

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

Preview Lab → · Contrast checker → · Palette generator →

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