#7F4EF9#7F4EF9

#7F4EF9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.239 H 290.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7F4EF9
RGBrgb(127, 78, 249)
HSLhsl(257, 93%, 64%)
HSVhsv(257, 69%, 98%)
CMYKcmyk(49%, 68.7%, 0%, 2.4%)
CIE-LABlab(48.01, 59.05, -78.27)
CIE-LCHlch(48.01, 98.05, 307.03°)
OKLaboklab(57.77% 0.0816 -0.2246)
OKLCHoklch(57.77% 0.239 290)
XYZxyz(28.5708, 16.7992, 91.3413)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EF9 #C8F94E
analogous
#4E73F9 #7F4EF9 #D54EF9
triadic
#7F4EF9 #F97F4E #4EF97F
tetradic
#7F4EF9 #F94E73 #C8F94E #4EF9D5
square
#7F4EF9 #F94E73 #C8F94E #4EF9D5
split-complementary
#7F4EF9 #F9D54E #73F94E
monochromatic
#3D07C6 #5413F7 #7F4EF9 #AA89FB #D5C4FD

Accessibility & contrast

On white

4.82
#7F4EF9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7F4EF9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4EF9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4EF9#FFFFFF#000000##FFFFFF
##7F4EF91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FE
Deuteranopia (green-blind)
#006EF6
Tritanopia (blue-blind)
#557A9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f4ef9;
/* rgb */ color: rgb(127, 78, 249);
/* oklch */ color: oklch(57.8% 0.239 290.0);
Tailwind
colors: {
  custom: {
    50: '#ae83fc',
    500: '#7f4ef9',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ef9;
$custom-light: #ae83fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ef9",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 249
  },
  "hsl": {
    "h": 257.193,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57768,
    "c": 0.23895,
    "h": 290
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#7F4EF9
secondary
#DEEFB4
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7F4EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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