#7F459B#7F459B

#7F459B is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.8% C 0.143 H 313.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F459B
RGBrgb(127, 69, 155)
HSLhsl(280, 38%, 44%)
HSVhsv(280, 55%, 61%)
CMYKcmyk(18.1%, 55.5%, 0%, 39.2%)
CIE-LABlab(39.81, 40.03, -37.12)
CIE-LCHlch(39.81, 54.60, 317.16°)
OKLaboklab(49.8% 0.0985 -0.1038)
OKLCHoklch(49.8% 0.143 313.5)
XYZxyz(16.7959, 11.1353, 32.2685)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F459B #619B45
analogous
#54459B #7F459B #9B458C
triadic
#7F459B #9B7F45 #459B7F
tetradic
#7F459B #9B5445 #619B45 #458C9B
square
#7F459B #9B5445 #619B45 #458C9B
split-complementary
#7F459B #8C9B45 #459B54
monochromatic
#3A1F46 #5C3271 #7F459B #9E63BA #B88ECD

Accessibility & contrast

On white

6.51
#7F459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F459B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F459B#FFFFFF#000000##FFFFFF
##7F459B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9E
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#7C5369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f459b;
/* rgb */ color: rgb(127, 69, 155);
/* oklch */ color: oklch(49.8% 0.143 313.5);
Tailwind
colors: {
  custom: {
    50: '#a67bb9',
    500: '#7f459b',
    950: '#000000',
  },
}
SCSS
$custom: #7f459b;
$custom-light: #a67bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f459b",
  "rgb": {
    "r": 127,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 280.465,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.14308,
    "h": 313.5
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#7F459B
secondary
#95B884
accent
#CE5980
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7F459B

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

Preview Lab → · Contrast checker → · Palette generator →

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