#7A256F#7A256F

#7A256F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.147 H 333.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7A256F
RGBrgb(122, 37, 111)
HSLhsl(308, 53%, 31%)
HSVhsv(308, 70%, 48%)
CMYKcmyk(0%, 69.7%, 9%, 52.2%)
CIE-LABlab(30.90, 45.55, -24.02)
CIE-LCHlch(30.90, 51.49, 332.20°)
OKLaboklab(42.36% 0.1316 -0.0657)
OKLCHoklch(42.36% 0.147 333.5)
XYZxyz(11.5569, 6.6093, 15.7029)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A256F #257A30
analogous
#5A257A #7A256F #7A2544
triadic
#7A256F #6F7A25 #256F7A
tetradic
#7A256F #7A5A25 #257A30 #25447A
square
#7A256F #7A5A25 #257A30 #25447A
split-complementary
#7A256F #447A25 #257A5A
monochromatic
#1C091A #4B1744 #7A256F #A9339A #CA50BA

Accessibility & contrast

On white

9.05
#7A256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A256F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A256F#FFFFFF#000000##FFFFFF
##7A256F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#802C46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a256f;
/* rgb */ color: rgb(122, 37, 111);
/* oklch */ color: oklch(42.4% 0.147 333.5);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#7a256f',
    950: '#000000',
  },
}
SCSS
$custom: #7a256f;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#7a256f",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 307.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.14707,
    "h": 333.5
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7A256F
secondary
#4EAC5B
accent
#DD5E4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A256F

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

Preview Lab → · Contrast checker → · Palette generator →

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