#7D268F#7D268F

#7D268F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.175 H 320.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D268F
RGBrgb(125, 38, 143)
HSLhsl(290, 58%, 35%)
HSVhsv(290, 73%, 56%)
CMYKcmyk(12.6%, 73.4%, 0%, 43.9%)
CIE-LABlab(33.41, 51.74, -40.03)
CIE-LCHlch(33.41, 65.42, 322.27°)
OKLaboklab(44.87% 0.1344 -0.1121)
OKLCHoklch(44.87% 0.175 320.2)
XYZxyz(14.1079, 7.7301, 26.7302)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D268F #388F26
analogous
#48268F #7D268F #8F266C
triadic
#7D268F #8F7D26 #268F7D
tetradic
#7D268F #8F4826 #388F26 #266C8F
square
#7D268F #8F4826 #388F26 #266C8F
split-complementary
#7D268F #6C8F26 #268F48
monochromatic
#280C2E #53195F #7D268F #A733BF #BF5CD4

Accessibility & contrast

On white

8.25
#7D268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D268F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D268F#FFFFFF#000000##FFFFFF
##7D268F1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#7E3A58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d268f;
/* rgb */ color: rgb(125, 38, 143);
/* oklch */ color: oklch(44.9% 0.175 320.2);
Tailwind
colors: {
  custom: {
    50: '#a669b0',
    500: '#7d268f',
    950: '#000000',
  },
}
SCSS
$custom: #7d268f;
$custom-light: #a669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d268f",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 289.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.17508,
    "h": 320.2
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#7D268F
secondary
#69B958
accent
#E14761
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D268F

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

Preview Lab → · Contrast checker → · Palette generator →

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