#7D268E#7D268E

#7D268E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.174 H 320.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D268E
RGBrgb(125, 38, 142)
HSLhsl(290, 58%, 35%)
HSVhsv(290, 73%, 56%)
CMYKcmyk(12%, 73.2%, 0%, 44.3%)
CIE-LABlab(33.35, 51.55, -39.52)
CIE-LCHlch(33.35, 64.95, 322.52°)
OKLaboklab(44.8% 0.1345 -0.1106)
OKLCHoklch(44.8% 0.174 320.6)
XYZxyz(14.0325, 7.6999, 26.3330)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D268E #378E26
analogous
#49268E #7D268E #8E266B
triadic
#7D268E #8E7D26 #268E7D
tetradic
#7D268E #8E4926 #378E26 #266B8E
square
#7D268E #8E4926 #378E26 #266B8E
split-complementary
#7D268E #6B8E26 #268E49
monochromatic
#280C2D #52195E #7D268E #A733BE #C05BD3

Accessibility & contrast

On white

8.27
#7D268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D268E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D268E#FFFFFF#000000##FFFFFF
##7D268E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#31518C
Tritanopia (blue-blind)
#7E3A58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d268e;
/* rgb */ color: rgb(125, 38, 142);
/* oklch */ color: oklch(44.8% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#a669b0',
    500: '#7d268e',
    950: '#000000',
  },
}
SCSS
$custom: #7d268e;
$custom-light: #a669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d268e",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 290.192,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.17417,
    "h": 320.6
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#7D268E
secondary
#67B858
accent
#E14760
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D268E

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

Preview Lab → · Contrast checker → · Palette generator →

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