#7F4CCF#7F4CCF

#7F4CCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.193 H 297.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7F4CCF
RGBrgb(127, 76, 207)
HSLhsl(263, 58%, 55%)
HSVhsv(263, 63%, 81%)
CMYKcmyk(38.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(44.50, 48.98, -60.18)
CIE-LCHlch(44.50, 77.59, 309.14°)
OKLaboklab(54.27% 0.0891 -0.1714)
OKLCHoklch(54.27% 0.193 297.5)
XYZxyz(22.5964, 14.1855, 60.5670)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4CCF #9CCF4C
analogous
#4C5ACF #7F4CCF #C04CCF
triadic
#7F4CCF #CF7F4C #4CCF7F
tetradic
#7F4CCF #CF4C5A #9CCF4C #4CCFC0
square
#7F4CCF #CF4C5A #9CCF4C #4CCFC0
split-complementary
#7F4CCF #CFC04C #5ACF4C
monochromatic
#46227F #612FAF #7F4CCF #A27CDC #C4ADE9

Accessibility & contrast

On white

5.47
#7F4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7F4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4CCF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4CCF#FFFFFF#000000##FFFFFF
##7F4CCF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#6C6A87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4ccf;
/* rgb */ color: rgb(127, 76, 207);
/* oklch */ color: oklch(54.3% 0.193 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa81de',
    500: '#7f4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ccf;
$custom-light: #aa81de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ccf",
  "rgb": {
    "r": 127,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 263.359,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.19318,
    "h": 297.5
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#7F4CCF
secondary
#C1D7A0
accent
#E147A5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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