#7D268B#7D268B

#7D268B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.171 H 321.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D268B
RGBrgb(125, 38, 139)
HSLhsl(292, 57%, 35%)
HSVhsv(292, 73%, 55%)
CMYKcmyk(10.1%, 72.7%, 0%, 45.5%)
CIE-LABlab(33.16, 50.97, -37.98)
CIE-LCHlch(33.16, 63.56, 323.31°)
OKLaboklab(44.61% 0.1347 -0.1061)
OKLCHoklch(44.61% 0.171 321.8)
XYZxyz(13.8103, 7.6110, 25.1627)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D268B #348B26
analogous
#4B268B #7D268B #8B2667
triadic
#7D268B #8B7D26 #268B7D
tetradic
#7D268B #8B4B26 #348B26 #26678B
square
#7D268B #8B4B26 #348B26 #26678B
split-complementary
#7D268B #678B26 #268B4B
monochromatic
#270C2B #52195B #7D268B #A833BB #C15AD2

Accessibility & contrast

On white

8.33
#7D268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D268B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D268B#FFFFFF#000000##FFFFFF
##7D268B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#7E3856
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d268b;
/* rgb */ color: rgb(125, 38, 139);
/* oklch */ color: oklch(44.6% 0.171 321.8);
Tailwind
colors: {
  custom: {
    50: '#a669ad',
    500: '#7d268b',
    950: '#000000',
  },
}
SCSS
$custom: #7d268b;
$custom-light: #a669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d268b",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 291.683,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44605,
    "c": 0.17148,
    "h": 321.8
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#7D268B
secondary
#64B756
accent
#E0475D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D268B

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

Preview Lab → · Contrast checker → · Palette generator →

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