#7F459C#7F459C

#7F459C is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.9% C 0.144 H 313.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7F459C
RGBrgb(127, 69, 156)
HSLhsl(280, 39%, 44%)
HSVhsv(280, 56%, 61%)
CMYKcmyk(18.6%, 55.8%, 0%, 38.8%)
CIE-LABlab(39.86, 40.26, -37.64)
CIE-LCHlch(39.86, 55.11, 316.93°)
OKLaboklab(49.86% 0.0986 -0.1053)
OKLCHoklch(49.86% 0.144 313.1)
XYZxyz(16.8802, 11.1690, 32.7127)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F459C #629C45
analogous
#54459C #7F459C #9C458E
triadic
#7F459C #9C7F45 #459C7F
tetradic
#7F459C #9C5445 #629C45 #458E9C
square
#7F459C #9C5445 #629C45 #458E9C
split-complementary
#7F459C #8E9C45 #459C54
monochromatic
#3A1F47 #5C3272 #7F459C #9E64BA #B88ECD

Accessibility & contrast

On white

6.49
#7F459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F459C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F459C#FFFFFF#000000##FFFFFF
##7F459C1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#7C546A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f459c;
/* rgb */ color: rgb(127, 69, 156);
/* oklch */ color: oklch(49.9% 0.144 313.1);
Tailwind
colors: {
  custom: {
    50: '#a67bb9',
    500: '#7f459c',
    950: '#000000',
  },
}
SCSS
$custom: #7f459c;
$custom-light: #a67bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f459c",
  "rgb": {
    "r": 127,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 280,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.14421,
    "h": 313.1
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#7F459C
secondary
#96B984
accent
#CF5980
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7F459C

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

Preview Lab → · Contrast checker → · Palette generator →

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