#7F458D#7F458D

#7F458D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.0% C 0.127 H 319.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7F458D
RGBrgb(127, 69, 141)
HSLhsl(288, 34%, 41%)
HSVhsv(288, 51%, 55%)
CMYKcmyk(9.9%, 51.1%, 0%, 44.7%)
CIE-LABlab(39.06, 36.95, -29.84)
CIE-LCHlch(39.06, 47.50, 321.08°)
OKLaboklab(49% 0.097 -0.0826)
OKLCHoklch(49% 0.127 319.6)
XYZxyz(15.6876, 10.6920, 26.4315)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F458D #538D45
analogous
#5B458D #7F458D #8D4577
triadic
#7F458D #8D7F45 #458D7F
tetradic
#7F458D #8D5B45 #538D45 #45778D
square
#7F458D #8D5B45 #538D45 #45778D
split-complementary
#7F458D #778D45 #458D5B
monochromatic
#351D3B #5A3164 #7F458D #A15FB1 #B988C5

Accessibility & contrast

On white

6.69
#7F458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7F458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F458D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F458D#FFFFFF#000000##FFFFFF
##7F458D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#804F62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f458d;
/* rgb */ color: rgb(127, 69, 141);
/* oklch */ color: oklch(49.0% 0.127 319.6);
Tailwind
colors: {
  custom: {
    50: '#a67bae',
    500: '#7f458d',
    950: '#000000',
  },
}
SCSS
$custom: #7f458d;
$custom-light: #a67bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7f458d",
  "rgb": {
    "r": 127,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 288.333,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.12743,
    "h": 319.6
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#7F458D
secondary
#88B07E
accent
#CA5D73
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7F458D

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

Preview Lab → · Contrast checker → · Palette generator →

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