#7F4EE9#7F4EE9

#7F4EE9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.221 H 292.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F4EE9
RGBrgb(127, 78, 233)
HSLhsl(259, 78%, 61%)
HSVhsv(259, 67%, 91%)
CMYKcmyk(45.5%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.77, 54.77, -71.31)
CIE-LCHlch(46.77, 89.92, 307.53°)
OKLaboklab(56.5% 0.0841 -0.2041)
OKLCHoklch(56.5% 0.221 292.4)
XYZxyz(26.1807, 15.8431, 78.7536)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EE9 #B8E94E
analogous
#4E6AE9 #7F4EE9 #CC4EE9
triadic
#7F4EE9 #E97F4E #4EE97F
tetradic
#7F4EE9 #E94E6A #B8E94E #4EE9CC
square
#7F4EE9 #E94E6A #B8E94E #4EE9CC
split-complementary
#7F4EE9 #E9CC4E #6AE94E
monochromatic
#4315A8 #591CDE #7F4EE9 #A684F0 #CEBBF7

Accessibility & contrast

On white

5.04
#7F4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7F4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4EE9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4EE9#FFFFFF#000000##FFFFFF
##7F4EE91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5F7495
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f4ee9;
/* rgb */ color: rgb(127, 78, 233);
/* oklch */ color: oklch(56.5% 0.221 292.4);
Tailwind
colors: {
  custom: {
    50: '#ac83f1',
    500: '#7f4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ee9;
$custom-light: #ac83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ee9",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 258.968,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.22078,
    "h": 292.4
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#7F4EE9
secondary
#D4E7AC
accent
#DA0B99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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