#7D269A#7D269A

#7D269A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.185 H 316.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7D269A
RGBrgb(125, 38, 154)
HSLhsl(285, 60%, 38%)
HSVhsv(285, 75%, 60%)
CMYKcmyk(18.8%, 75.3%, 0%, 39.6%)
CIE-LABlab(34.15, 53.94, -45.58)
CIE-LCHlch(34.15, 70.62, 319.80°)
OKLaboklab(45.63% 0.1333 -0.1284)
OKLCHoklch(45.63% 0.185 316.1)
XYZxyz(14.9824, 8.0799, 31.3360)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D269A #439A26
analogous
#43269A #7D269A #9A267D
triadic
#7D269A #9A7D26 #269A7D
tetradic
#7D269A #9A4326 #439A26 #267D9A
square
#7D269A #9A4326 #439A26 #267D9A
split-complementary
#7D269A #7D9A26 #269A43
monochromatic
#2D0E38 #551A69 #7D269A #A532CB #BB62D8

Accessibility & contrast

On white

8.03
#7D269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D269A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D269A#FFFFFF#000000##FFFFFF
##7D269A1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#7B3F5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d269a;
/* rgb */ color: rgb(125, 38, 154);
/* oklch */ color: oklch(45.6% 0.185 316.1);
Tailwind
colors: {
  custom: {
    50: '#a66ab8',
    500: '#7d269a',
    950: '#000000',
  },
}
SCSS
$custom: #7d269a;
$custom-light: #a66ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d269a",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 285,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.18511,
    "h": 316.1
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#7D269A
secondary
#76BE5E
accent
#E4446C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D269A

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

Preview Lab → · Contrast checker → · Palette generator →

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