#7A258F#7A258F

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

Color values

HEX#7A258F
RGBrgb(122, 37, 143)
HSLhsl(288, 59%, 35%)
HSVhsv(288, 74%, 56%)
CMYKcmyk(14.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(32.80, 51.47, -41.05)
CIE-LCHlch(32.80, 65.83, 321.43°)
OKLaboklab(44.33% 0.1317 -0.1152)
OKLCHoklch(44.33% 0.175 318.8)
XYZxyz(13.6449, 7.4445, 26.6995)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A258F #3A8F25
analogous
#45258F #7A258F #8F256F
triadic
#7A258F #8F7A25 #258F7A
tetradic
#7A258F #8F4525 #3A8F25 #256F8F
square
#7A258F #8F4525 #3A8F25 #256F8F
split-complementary
#7A258F #6F8F25 #258F45
monochromatic
#270C2E #51185E #7A258F #A332C0 #BC5AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A258F#FFFFFF#000000##FFFFFF
##7A258F1.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)
#004892
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#7A3A58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a258f;
/* rgb */ color: rgb(122, 37, 143);
/* oklch */ color: oklch(44.3% 0.175 318.8);
Tailwind
colors: {
  custom: {
    50: '#a468b0',
    500: '#7a258f',
    950: '#000000',
  },
}
SCSS
$custom: #7a258f;
$custom-light: #a468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a258f",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 288.113,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.17498,
    "h": 318.8
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#7A258F
secondary
#6AB957
accent
#E24665
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A258F

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

Preview Lab → · Contrast checker → · Palette generator →

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