#7F4EE1#7F4EE1

#7F4EE1 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.212 H 293.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F4EE1
RGBrgb(127, 78, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.6%, 65.3%, 0%, 11.8%)
CIE-LABlab(46.17, 52.65, -67.75)
CIE-LCHlch(46.17, 85.80, 307.85°)
OKLaboklab(55.88% 0.0852 -0.1937)
OKLCHoklch(55.88% 0.212 293.7)
XYZxyz(25.0637, 15.3963, 72.8708)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EE1 #B0E14E
analogous
#4E67E1 #7F4EE1 #C84EE1
triadic
#7F4EE1 #E17F4E #4EE17F
tetradic
#7F4EE1 #E14E67 #B0E14E #4EE1C8
square
#7F4EE1 #E14E67 #B0E14E #4EE1C8
split-complementary
#7F4EE1 #E1C84E #67E14E
monochromatic
#451A9A #5C23CF #7F4EE1 #A582EA #CBB7F3

Accessibility & contrast

On white

5.15
#7F4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7F4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4EE1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4EE1#FFFFFF#000000##FFFFFF
##7F4EE11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#637191
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f4ee1;
/* rgb */ color: rgb(127, 78, 225);
/* oklch */ color: oklch(55.9% 0.212 293.7);
Tailwind
colors: {
  custom: {
    50: '#ab82eb',
    500: '#7f4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ee1;
$custom-light: #ab82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ee1",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 260,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.21156,
    "h": 293.7
  },
  "luminance": 0.15397
}

Semantic roles & 50–950 ramp

primary
#7F4EE1
secondary
#CFE2A9
accent
#EE3AB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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