#7F439D#7F439D

#7F439D is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.6% C 0.149 H 313.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7F439D
RGBrgb(127, 67, 157)
HSLhsl(280, 40%, 44%)
HSVhsv(280, 57%, 62%)
CMYKcmyk(19.1%, 57.3%, 0%, 38.4%)
CIE-LABlab(39.51, 41.56, -38.79)
CIE-LCHlch(39.51, 56.85, 316.98°)
OKLaboklab(49.62% 0.1014 -0.1086)
OKLCHoklch(49.62% 0.149 313)
XYZxyz(16.8443, 10.9611, 33.1201)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F439D #619D43
analogous
#52439D #7F439D #9D438E
triadic
#7F439D #9D7F43 #439D7F
tetradic
#7F439D #9D5243 #619D43 #438E9D
square
#7F439D #9D5243 #619D43 #438E9D
split-complementary
#7F439D #8E9D43 #439D52
monochromatic
#3A1E47 #5C3172 #7F439D #9E61BC #B88CCE

Accessibility & contrast

On white

6.58
#7F439D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F439D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F439D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F439D#FFFFFF#000000##FFFFFF
##7F439D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#3F5E9B
Tritanopia (blue-blind)
#7C5269
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f439d;
/* rgb */ color: rgb(127, 67, 157);
/* oklch */ color: oklch(49.6% 0.149 313.0);
Tailwind
colors: {
  custom: {
    50: '#a67aba',
    500: '#7f439d',
    950: '#000000',
  },
}
SCSS
$custom: #7f439d;
$custom-light: #a67aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7f439d",
  "rgb": {
    "r": 127,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 40.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.14859,
    "h": 313
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#7F439D
secondary
#95B983
accent
#D05880
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7F439D

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

Preview Lab → · Contrast checker → · Palette generator →

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