#7A268D#7A268D

#7A268D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.172 H 319.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7A268D
RGBrgb(122, 38, 141)
HSLhsl(289, 58%, 35%)
HSVhsv(289, 73%, 55%)
CMYKcmyk(13.5%, 73%, 0%, 44.7%)
CIE-LABlab(32.80, 50.68, -39.81)
CIE-LCHlch(32.80, 64.44, 321.85°)
OKLaboklab(44.3% 0.1309 -0.1116)
OKLCHoklch(44.3% 0.172 319.6)
XYZxyz(13.5263, 7.4475, 25.9192)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A268D #398D26
analogous
#46268D #7A268D #8D266C
triadic
#7A268D #8D7A26 #268D7A
tetradic
#7A268D #8D4626 #398D26 #266C8D
square
#7A268D #8D4626 #398D26 #266C8D
split-complementary
#7A268D #6C8D26 #268D46
monochromatic
#270C2D #50195D #7A268D #A433BD #BD5BD3

Accessibility & contrast

On white

8.44
#7A268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A268D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A268D#FFFFFF#000000##FFFFFF
##7A268D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#7A3A57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a268d;
/* rgb */ color: rgb(122, 38, 141);
/* oklch */ color: oklch(44.3% 0.172 319.6);
Tailwind
colors: {
  custom: {
    50: '#a469af',
    500: '#7a268d',
    950: '#000000',
  },
}
SCSS
$custom: #7a268d;
$custom-light: #a469af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a268d",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 288.932,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.17196,
    "h": 319.6
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#7A268D
secondary
#69B857
accent
#E14763
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A268D

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

Preview Lab → · Contrast checker → · Palette generator →

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