#7F4FC3#7F4FC3

#7F4FC3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.175 H 299.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F4FC3
RGBrgb(127, 79, 195)
HSLhsl(265, 49%, 54%)
HSVhsv(265, 59%, 76%)
CMYKcmyk(34.9%, 59.5%, 0%, 23.5%)
CIE-LABlab(44.30, 44.27, -53.57)
CIE-LCHlch(44.30, 69.49, 309.57°)
OKLaboklab(53.86% 0.0863 -0.152)
OKLCHoklch(53.86% 0.175 299.6)
XYZxyz(21.3963, 14.0439, 53.2027)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FC3 #93C34F
analogous
#4F59C3 #7F4FC3 #B94FC3
triadic
#7F4FC3 #C37F4F #4FC37F
tetradic
#7F4FC3 #C34F59 #93C34F #4FC3B9
square
#7F4FC3 #C34F59 #93C34F #4FC3B9
split-complementary
#7F4FC3 #C3B94F #59C34F
monochromatic
#452771 #61369F #7F4FC3 #A07DD3 #C1AAE2

Accessibility & contrast

On white

5.51
#7F4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FC3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FC3#FFFFFF#000000##FFFFFF
##7F4FC31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0969C7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#706781
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f4fc3;
/* rgb */ color: rgb(127, 79, 195);
/* oklch */ color: oklch(53.9% 0.175 299.6);
Tailwind
colors: {
  custom: {
    50: '#a882d6',
    500: '#7f4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fc3;
$custom-light: #a882d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fc3",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 264.828,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.17475,
    "h": 299.6
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#7F4FC3
secondary
#BBD09E
accent
#D94FA0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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