#7D269F#7D269F

#7D269F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.190 H 314.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7D269F
RGBrgb(125, 38, 159)
HSLhsl(283, 61%, 39%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(21.4%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.50, 54.96, -48.05)
CIE-LCHlch(34.50, 73.01, 318.84°)
OKLaboklab(45.98% 0.1326 -0.1356)
OKLCHoklch(45.98% 0.19 314.4)
XYZxyz(15.4075, 8.2499, 33.5749)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D269F #489F26
analogous
#40269F #7D269F #9F2684
triadic
#7D269F #9F7D26 #269F7D
tetradic
#7D269F #9F4026 #489F26 #26849F
square
#7D269F #9F4026 #489F26 #26849F
split-complementary
#7D269F #849F26 #269F40
monochromatic
#2F0E3C #561A6E #7D269F #A334CE #B965DA

Accessibility & contrast

On white

7.93
#7D269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D269F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D269F#FFFFFF#000000##FFFFFF
##7D269F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#7A4161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d269f;
/* rgb */ color: rgb(125, 38, 159);
/* oklch */ color: oklch(46.0% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#a76abc',
    500: '#7d269f',
    950: '#000000',
  },
}
SCSS
$custom: #7d269f;
$custom-light: #a76abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d269f",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 283.14,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.18971,
    "h": 314.4
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#7D269F
secondary
#7CC061
accent
#E54371
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D269F

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

Preview Lab → · Contrast checker → · Palette generator →

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