#7F4EE6#7F4EE6

#7F4EE6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.217 H 292.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7F4EE6
RGBrgb(127, 78, 230)
HSLhsl(259, 75%, 60%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(44.8%, 66.1%, 0%, 9.8%)
CIE-LABlab(46.54, 53.97, -69.98)
CIE-LCHlch(46.54, 88.38, 307.64°)
OKLaboklab(56.27% 0.0845 -0.2002)
OKLCHoklch(56.27% 0.217 292.9)
XYZxyz(25.7558, 15.6732, 76.5158)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EE6 #B5E64E
analogous
#4E69E6 #7F4EE6 #CB4EE6
triadic
#7F4EE6 #E67F4E #4EE67F
tetradic
#7F4EE6 #E64E69 #B5E64E #4EE6CB
square
#7F4EE6 #E64E69 #B5E64E #4EE6CB
split-complementary
#7F4EE6 #E6CB4E #69E64E
monochromatic
#4417A3 #5A1FD8 #7F4EE6 #A684EE #CDB9F5

Accessibility & contrast

On white

5.08
#7F4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7F4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4EE6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4EE6#FFFFFF#000000##FFFFFF
##7F4EE61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#617394
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f4ee6;
/* rgb */ color: rgb(127, 78, 230);
/* oklch */ color: oklch(56.3% 0.217 292.9);
Tailwind
colors: {
  custom: {
    50: '#ac83ef',
    500: '#7f4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ee6;
$custom-light: #ac83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ee6",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 259.342,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.21733,
    "h": 292.9
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#7F4EE6
secondary
#D2E5AB
accent
#D70E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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